@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   1. VARIABLES & THEME
   ========================================================================== */
:root {
    /* Light Mode (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-card: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #999999;
    --accent: #c84032;
    --accent-hover: #a83028;
    --border: #e0e0e0;
    --border-light: #f0f0f0;
    --nav-bg: rgba(255, 255, 255, 0.82);
    --card-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);

    /* Typography — Font Families */
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Typography — Type Scale */
    --text-xs: 0.75rem;
    /* 12px: Chips, Badges, Eyebrow-Labels */
    --text-sm: 0.875rem;
    /* 14px: Buttons, Navigation, Meta-Infos */
    --text-base: 1rem;
    /* 16px: Fließtext / Body */
    --text-md: 1.125rem;
    /* 18px: Lead-Texte / Intros */
    --text-lg: 1.25rem;
    /* 20px: H4, Card-Titel */
    --text-xl: 1.5rem;
    /* 24px: H3, Zwischenüberschriften in Case Studies */
    --text-2xl: 2rem;
    /* 32px: H2 */
    --text-3xl: 2.75rem;
    /* 44px: H1 auf Unterseiten / Case Studies */
    --text-4xl: 3.75rem;
    /* 60px: H1 Hero-Headline auf der Startseite */

    /* Typography — Line Heights */
    --leading-tight: 1.15;
    /* Für DM Serif Headings */
    --leading-snug: 1.3;
    /* Für Inter Subheadings & UI */
    --leading-normal: 1.6;
    /* Für Fließtext */

    /* Typography — Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Typography — Letter Spacing */
    --tracking-wide: 0.05em;

    /* Layout */
    --max-width: 1100px;
    --header-height: 60px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-full: 9999px;
}

[data-theme='dark'] {
    --bg-primary: #17191d;
    --bg-secondary: #1e2126;
    --bg-card: #2a2e35;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-tertiary: #666666;
    --accent: #e04a3c;
    --accent-hover: #ff5c4d;
    --border: #333842;
    --border-light: #2a2e34;
    --nav-bg: rgba(23, 25, 29, 0.82);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

::selection {
    background-color: var(--accent);
    color: #ffffff;
}

h1 {
    font-family: var(--font-heading);
    font-weight: var(--font-normal);
    line-height: var(--leading-tight);
    font-size: var(--text-3xl);
    color: var(--text-primary);
}

h2 {
    font-family: var(--font-body);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    font-size: var(--text-2xl);
    color: var(--text-primary);
}

h3 {
    font-family: var(--font-body);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    font-size: var(--text-xl);
    color: var(--text-primary);
}

h4 {
    font-family: var(--font-body);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    font-size: var(--text-lg);
    color: var(--text-primary);
}

h5,
h6 {
    font-family: var(--font-body);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    font-size: var(--text-md);
    color: var(--text-primary);
}

p {
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-secondary);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

ul,
ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    color: inherit;
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--spacing-xl) 0;
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.section--alt {
    background-color: var(--bg-secondary);
}

.section-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-title--archive {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--text-primary);
    margin-bottom: 0;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

/* ==========================================================================
   4. FLOATING PILL NAVIGATION
   ========================================================================== */
.site-nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: transform var(--transition-normal);
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background-color: var(--nav-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-full);
    padding: 0.4rem 0.5rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
    color: var(--text-secondary);
    padding: 0.5rem 0.9rem;
    border-radius: var(--border-radius-full);
    transition: color var(--transition-fast), background-color var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text-primary);
    background-color: var(--border-light);
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--text-primary);
    background-color: var(--border-light);
}

/* Sun/Moon icon toggle */
.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

[data-theme='dark'] .theme-toggle .icon-sun {
    display: block;
}

[data-theme='dark'] .theme-toggle .icon-moon {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    padding: 0;
    z-index: 1002;
    transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
    background-color: var(--border-light);
}

.hamburger-line {
    display: block;
    width: 18px;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    margin: 2px 0;
}

/* Transform hamburger to X when active / open */
.nav-toggle.is-active .hamburger-line:nth-child(1),
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active .hamburger-line:nth-child(2),
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.is-active .hamburger-line:nth-child(3),
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Scrolled state */
.site-nav.is-scrolled {
    transform: translate(-50%, -4px);
}

.site-nav.is-scrolled .nav-pill {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   5. HERO SECTION — Zentriert, Foto natürlich
   ========================================================================== */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-center {
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.hero-title {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
    font-family: var(--font-heading);
    font-weight: var(--font-normal);
    line-height: var(--leading-tight);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: var(--text-md);
    color: var(--text-secondary);
    line-height: var(--leading-normal);
    font-weight: var(--font-normal);
    max-width: 550px;
    margin: 0 auto;
}

.hero-photo {
    max-width: 460px;
    margin: 0 auto;
    display: grid;
    grid-template-areas: "hero-stack";
    align-items: flex-end;
}

.hero-photo img {
    grid-area: hero-stack;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    object-fit: cover;
    display: block;
    transition: opacity var(--transition-normal);
}

.hero-img--dark {
    opacity: 0;
    pointer-events: none;
}

.hero-img--light {
    opacity: 1;
    pointer-events: auto;
}

[data-theme='dark'] .hero-img--dark {
    opacity: 1;
    pointer-events: auto;
}

[data-theme='dark'] .hero-img--light {
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
    border-radius: var(--border-radius-full);
    transition: all var(--transition-fast);
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 64, 50, 0.25);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: var(--text-xs);
}

/* ==========================================================================
   7. TAGS / PILLS
   ========================================================================== */
.tag {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: var(--text-xs);
    font-family: var(--font-body);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    line-height: var(--leading-snug);
    border-radius: var(--border-radius-full);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    background-color: transparent;
}

.tag--small {
    font-size: var(--text-xs);
    padding: 0.15rem 0.5rem;
}

.tag--muted {
    color: var(--text-tertiary);
    border-color: var(--text-tertiary);
}

/* ==========================================================================
   8. FEATURED CASES — Horizontal Glass Cards with Ambient Blurred Background
   ========================================================================== */
.featured-cases {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.cases-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.case-item {
    position: relative;
    width: 100%;
    min-height: 80vh;
    padding: clamp(6rem, 12vh, 11rem) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.case-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

[data-theme='dark'] .case-item::before {
    opacity: 1;
}

/* Featured Cases — Performance Mesh Gradients */
.case-item--dachassistent {
    background-color: #c5b4aa;
    background-image:
        radial-gradient(ellipse 65% 65% at 0% 0%, #bfafa3 0%, rgba(191, 175, 163, 0) 72%),
        radial-gradient(ellipse 65% 65% at 50% 0%, #c6c0bd 0%, rgba(198, 192, 189, 0) 72%),
        radial-gradient(ellipse 65% 65% at 100% 0%, #b2a69d 0%, rgba(178, 166, 157, 0) 72%),
        radial-gradient(ellipse 65% 65% at 0% 100%, #cdb9a8 0%, rgba(205, 185, 168, 0) 72%),
        radial-gradient(ellipse 65% 65% at 50% 100%, #c5b4aa 0%, rgba(197, 180, 170, 0) 72%),
        radial-gradient(ellipse 65% 65% at 100% 100%, #c6b7ab 0%, rgba(198, 183, 171, 0) 72%);
}

.case-item--dachassistent::before {
    background-color: #2e231d;
    background-image:
        radial-gradient(ellipse 65% 65% at 0% 0%, #2d241d 0%, rgba(45, 36, 29, 0) 72%),
        radial-gradient(ellipse 65% 65% at 50% 0%, #2a2523 0%, rgba(42, 37, 35, 0) 72%),
        radial-gradient(ellipse 65% 65% at 100% 0%, #29231e 0%, rgba(41, 35, 30, 0) 72%),
        radial-gradient(ellipse 65% 65% at 0% 100%, #332519 0%, rgba(51, 37, 25, 0) 72%),
        radial-gradient(ellipse 65% 65% at 50% 100%, #2e231d 0%, rgba(46, 35, 29, 0) 72%),
        radial-gradient(ellipse 65% 65% at 100% 100%, #2f251d 0%, rgba(47, 37, 29, 0) 72%);
}

.case-item--political {
    background-color: #d2d5d9;
    background-image:
        radial-gradient(ellipse 65% 65% at 0% 0%, #dbeee9 0%, rgba(219, 238, 233, 0) 72%),
        radial-gradient(ellipse 65% 65% at 50% 0%, #ccdbd8 0%, rgba(204, 219, 216, 0) 72%),
        radial-gradient(ellipse 65% 65% at 100% 0%, #c2d5d0 0%, rgba(194, 213, 208, 0) 72%),
        radial-gradient(ellipse 65% 65% at 0% 100%, #eef5f5 0%, rgba(238, 245, 245, 0) 72%),
        radial-gradient(ellipse 65% 65% at 50% 100%, #d2d5d9 0%, rgba(210, 213, 217, 0) 72%),
        radial-gradient(ellipse 65% 65% at 100% 100%, #dbe0e1 0%, rgba(219, 224, 225, 0) 72%);
}

.case-item--political::before {
    background-color: #1a2a26;
    background-image:
        radial-gradient(ellipse 65% 65% at 0% 0%, #14352d 0%, rgba(20, 53, 45, 0) 72%),
        radial-gradient(ellipse 65% 65% at 50% 0%, #1c2b28 0%, rgba(28, 43, 40, 0) 72%),
        radial-gradient(ellipse 65% 65% at 100% 0%, #1a2a26 0%, rgba(26, 42, 38, 0) 72%),
        radial-gradient(ellipse 65% 65% at 0% 100%, #1a3333 0%, rgba(26, 51, 51, 0) 72%),
        radial-gradient(ellipse 65% 65% at 50% 100%, #202327 0%, rgba(32, 35, 39, 0) 72%),
        radial-gradient(ellipse 65% 65% at 100% 100%, #202728 0%, rgba(32, 39, 40, 0) 72%);
}

.case-item--veedle {
    background-color: #dcd9d7;
    background-image:
        radial-gradient(ellipse 65% 65% at 0% 0%, #dfd8d6 0%, rgba(223, 216, 214, 0) 72%),
        radial-gradient(ellipse 65% 65% at 50% 0%, #e2ddda 0%, rgba(226, 221, 218, 0) 72%),
        radial-gradient(ellipse 65% 65% at 100% 0%, #efe5db 0%, rgba(239, 229, 219, 0) 72%),
        radial-gradient(ellipse 65% 65% at 0% 100%, #e8e0da 0%, rgba(232, 224, 218, 0) 72%),
        radial-gradient(ellipse 65% 65% at 50% 100%, #dcd9d7 0%, rgba(220, 217, 215, 0) 72%),
        radial-gradient(ellipse 65% 65% at 100% 100%, #eedfd0 0%, rgba(238, 223, 208, 0) 72%);
}

.case-item--veedle::before {
    background-color: #2d2521;
    background-image:
        radial-gradient(ellipse 65% 65% at 0% 0%, #2c2321 0%, rgba(44, 35, 33, 0) 72%),
        radial-gradient(ellipse 65% 65% at 50% 0%, #2d2521 0%, rgba(45, 37, 33, 0) 72%),
        radial-gradient(ellipse 65% 65% at 100% 0%, #3a2714 0%, rgba(58, 39, 20, 0) 72%),
        radial-gradient(ellipse 65% 65% at 0% 100%, #32251c 0%, rgba(50, 37, 28, 0) 72%),
        radial-gradient(ellipse 65% 65% at 50% 100%, #2a2623 0%, rgba(42, 38, 35, 0) 72%),
        radial-gradient(ellipse 65% 65% at 100% 100%, #3e2710 0%, rgba(62, 39, 16, 0) 72%);
}

.cases-list .container,
.case-item > .container {
    position: relative;
    z-index: 1;
    max-width: 1260px;
    padding: 0 2rem;
    width: 100%;
}

.case-card {
    position: relative;
    display: grid;
    grid-template-columns: 48% 52%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 36px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22); /* #00000040 */
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-decoration: none;
    color: inherit;
}

.case-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 36px;
    z-index: 0;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

[data-theme='dark'] .case-card::before {
    opacity: 1;
}

.case-card__image,
.case-card__content {
    position: relative;
    z-index: 1;
}

[data-theme='dark'] .case-card {
    border: none;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

[data-theme='dark'] .case-card:hover {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}

.case-card__image {
    overflow: hidden;
    position: relative;
    display: flex;
    min-height: 100%;
}

.case-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.case-card:hover .case-card__image img {
    transform: scale(1.03);
}

.case-card__content {
    padding: clamp(2rem, 3.2vw, 3rem) clamp(2.25rem, 3.8vw, 3.5rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 100%;
}

.case-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: auto;
}

.case-card__meta .tag {
    background-color: #ffffff;
    color: #1d1d1f;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    line-height: 1.25;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

[data-theme='dark'] .case-card__meta .tag {
    background-color: rgba(255, 255, 255, 0.12);
    color: #f0f0f0;
    box-shadow: none;
    border: none;
}

.case-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    margin: auto 0;
    padding: 1.25rem 0;
}

.case-card__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 2.4vw, 2.25rem);
    font-weight: var(--font-semibold);
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0;
}

/* Dachassistent specific title matching case page */
.case-item--dachassistent .case-card__title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 2.5vw, 2.4rem);
    font-weight: var(--font-normal);
    line-height: 1.15;
    color: var(--accent);
    margin: 0;
}

.case-item--dachassistent .case-card::before {
    background: linear-gradient(180deg, rgba(42, 38, 37, 0.94) 0%, rgba(46, 40, 37, 0.94) 50%, rgba(38, 32, 30, 0.94) 100%);
}

[data-theme='dark'] .case-item--dachassistent .case-card__meta .tag {
    background-color: rgba(255, 90, 54, 0.12);
    color: #ffded6;
}

[data-theme='dark'] .case-item--dachassistent .case-card__result {
    color: #ff6b4a;
}

[data-theme='dark'] .case-item--dachassistent .result-indicator {
    background-color: #ff6b4a;
}

.case-card__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    font-weight: var(--font-bold);
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0;
    transition: color var(--transition-normal);
}

.case-card__desc {
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.55;
    margin: 0;
    transition: color var(--transition-normal);
}

.case-card__result {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: var(--font-medium);
    line-height: 1.3;
    margin-top: auto;
    padding-top: 0.5rem;
}

.result-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent);
    flex-shrink: 0;
    display: inline-block;
}

/* Title Graphic Logos */
.case-card__title-graphic {
    display: grid;
    grid-template-areas: "title-stack";
    align-items: center;
    margin: 0.15rem 0;
}

.case-card__title-graphic img {
    grid-area: title-stack;
    max-width: 240px;
    height: auto;
    display: block !important;
    transition: opacity var(--transition-normal);
}

.case-card__title-graphic .theme-img-dark {
    opacity: 0;
    pointer-events: none;
}

.case-card__title-graphic .theme-img-light {
    opacity: 1;
    pointer-events: auto;
}

[data-theme='dark'] .case-card__title-graphic .theme-img-dark {
    opacity: 1;
    pointer-events: auto;
}

[data-theme='dark'] .case-card__title-graphic .theme-img-light {
    opacity: 0;
    pointer-events: none;
}

.case-card__title-img--veedle {
    max-width: 175px !important;
    height: auto;
    display: block;
}

.case-card__title-img--political {
    max-width: clamp(260px, 32vw, 360px) !important;
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Case Study 2: Let's Get Political — Seamless Gradient Card
   ========================================================================== */
.case-item--political .case-card {
    background: linear-gradient(180deg, #90DFC5 0%, #B2E9D5 50%, #E2F7EF 100%);
    border: none;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25); /* #00000040 */
}

.case-item--political .case-card__subtitle {
    color: #1d1d1f;
}

.case-item--political .case-card__desc {
    color: #2c3e50;
}

.case-item--political .case-card__result {
    color: #c84032; /* red accent matching Figma */
}

.case-item--political .result-indicator {
    background-color: #c84032;
}

.case-item--political .case-card::before {
    background: linear-gradient(180deg, rgba(22, 54, 46, 0.94) 0%, rgba(26, 62, 53, 0.94) 50%, rgba(20, 48, 41, 0.94) 100%);
}

[data-theme='dark'] .case-item--political .case-card__subtitle {
    color: var(--text-primary);
}

[data-theme='dark'] .case-item--political .case-card__desc {
    color: var(--text-secondary);
}

[data-theme='dark'] .case-item--political .case-card__meta .tag {
    background-color: rgba(144, 223, 197, 0.14);
    color: #e2f7ef;
}

[data-theme='dark'] .case-item--political .case-card__result {
    color: #ff6b5b;
}

[data-theme='dark'] .case-item--political .result-indicator {
    background-color: #ff6b5b;
}

/* ==========================================================================
   Case Study 3: Veedle — Hex #FFF6F6D4 Glass Card
   ========================================================================== */
.case-item--veedle .case-card {
    background-color: #FFF6F6;
    border: none;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25); /* #00000040 */
}

.case-item--veedle .case-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.case-item--veedle .case-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-item--veedle .case-card::before {
    background: linear-gradient(180deg, rgba(48, 42, 42, 0.94) 0%, rgba(44, 38, 38, 0.94) 50%, rgba(40, 35, 35, 0.94) 100%);
}

[data-theme='dark'] .case-item--veedle .case-card__subtitle {
    color: var(--text-primary);
}

[data-theme='dark'] .case-item--veedle .case-card__desc {
    color: var(--text-secondary);
}

[data-theme='dark'] .case-item--veedle .case-card__meta .tag {
    background-color: rgba(208, 156, 93, 0.14);
    color: #fceddb;
}

[data-theme='dark'] .case-item--veedle .case-card__result {
    color: #e5b378;
}

[data-theme='dark'] .case-item--veedle .result-indicator {
    background-color: #e5b378;
}

/* Coming Soon */
.case-card--coming-soon {
    opacity: 0.45;
    border-style: dashed;
    pointer-events: none;
}

.case-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-tertiary);
    min-height: 200px;
}

.coming-soon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   9. ARCHIVE GRID
   ========================================================================== */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.archive-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.archive-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.archive-card__image {
    overflow: hidden;
}

.archive-card__image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.archive-card:hover .archive-card__image img {
    transform: scale(1.03);
}

.archive-card__content {
    padding: 1rem 1.25rem 1.25rem;
}

.archive-card__title {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    margin: 0.5rem 0 0.2rem;
    color: var(--text-primary);
}

.archive-card__role {
    font-size: var(--text-xs);
    line-height: var(--leading-snug);
    color: var(--text-tertiary);
    margin: 0;
}

/* ==========================================================================
   10. LAB SECTION
   ========================================================================== */
.lab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.lab-item {
    padding: 1.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.lab-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

.lab-item__title {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.lab-item__text {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    margin-bottom: 0.5rem;
}

.lab-item__learning {
    font-size: var(--text-xs);
    line-height: var(--leading-normal);
    color: var(--text-tertiary);
    font-style: italic;
    margin: 0;
}

.lab-item__learning strong {
    color: var(--accent);
    font-style: normal;
}

/* ==========================================================================
   11. ABOUT SECTION
   ========================================================================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: var(--spacing-md);
}

.about-text {
    text-align: center;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

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

.about-strengths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.strength-item {
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-md);
}

.strength-item h4 {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    margin-bottom: 0.85rem;
    color: var(--text-primary);
}

@media (min-width: 901px) {
    .strength-item h4 {
        min-height: calc(2 * var(--text-lg) * var(--leading-snug));
    }
}

.strength-item p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: var(--leading-normal);
}

/* ==========================================================================
   12. CONTACT SECTION — Zentriert
   ========================================================================== */
.contact-centered {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.contact-centered h2 {
    margin-bottom: var(--spacing-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    margin-bottom: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-family: var(--font-body);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200, 64, 50, 0.08);
}

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

.contact-form .btn-primary {
    align-self: flex-end;
}

.form-note {
    font-size: var(--text-xs);
    line-height: var(--leading-normal);
    color: var(--accent);
    margin-top: 0.5rem;
    text-align: left;
}

.contact-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: var(--text-sm);
}

.contact-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.contact-links__sep {
    color: var(--text-tertiary);
    user-select: none;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ==========================================================================
   14. ANIMATIONS
   ========================================================================== */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   15. UTILITIES
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.no-print {}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-tertiary);
}

.text-accent {
    color: var(--accent);
}

/* ==========================================================================
   16. RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 900px) {
    .cases-list .container,
    .case-item > .container {
        padding: 0 1.25rem;
    }

    .cases-list {
        gap: 0;
    }

    .case-item {
        min-height: 80vh;
        padding: clamp(5rem, 10vh, 8rem) 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cases-list .case-card,
    .cases-grid .case-card {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .case-card__image {
        height: 280px;
    }

    .case-item--political .case-card__image {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .case-card__title-graphic img {
        max-width: 190px;
    }

    .case-card__title-img--political {
        max-width: clamp(220px, 65vw, 300px) !important;
    }

    .case-card__title-img--veedle {
        max-width: 140px !important;
    }

    .case-item--veedle .case-card__image {
        padding: 1rem;
    }

    .case-card__content {
        padding: 2rem 1.5rem;
        gap: 0.85rem;
    }

    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-strengths {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .case-item {
        min-height: 75vh;
        padding: clamp(4.5rem, 10vh, 7rem) 0;
    }

    .case-card__image {
        height: 220px;
    }

    .case-card__content {
        padding: 1.75rem 1.25rem;
    }

    .case-card__subtitle {
        font-size: 1.15rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3.5rem;
    }

    .site-nav {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        transform: none !important;
        display: flex;
        justify-content: center;
        padding-top: 1rem;
        pointer-events: none;
    }

    .nav-pill {
        pointer-events: auto;
        position: relative;
        transform: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: var(--nav-bg);
        border: 1px solid var(--border);
        border-radius: var(--border-radius-full);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
        padding: 0.35rem;
        transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
        z-index: 1002;
    }

    .site-nav.is-open .nav-pill,
    .nav-pill:has(.nav-menu.is-open) {
        background-color: transparent;
        border-color: transparent;
        box-shadow: none;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1003;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background-color: var(--bg-primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.75rem;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
        padding: 2rem;
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu .nav-link {
        font-family: var(--font-body);
        font-size: var(--text-xl);
        font-weight: var(--font-semibold);
        line-height: var(--leading-snug);
        color: var(--text-primary);
        padding: 0.5rem 1.5rem;
        text-align: center;
        border-radius: var(--border-radius-md);
        transition: color var(--transition-fast), transform var(--transition-fast);
        display: inline-block;
        width: auto;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.is-active {
        color: var(--accent);
        background-color: transparent;
        transform: scale(1.05);
    }

    .nav-menu .theme-toggle {
        margin-top: 1rem;
        width: 44px;
        height: 44px;
        border: 1px solid var(--border);
    }

    .hero-title {
        font-size: var(--text-2xl);
    }

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

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

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

/* ==========================================================================
   17. PRINT STYLES
   ========================================================================== */
@media print {

    .no-print,
    .site-nav,
    .site-footer,
    .contact,
    .theme-toggle {
        display: none !important;
    }

    body {
        background-color: #fff !important;
        color: #000 !important;
        font-size: 12pt;
    }

    * {
        color: #000 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 90%;
    }

    .cv-document a[href]::after,
    .cv-sidebar a[href]::after,
    .cv-main-content a[href]::after,
    .cv-page-container a[href]::after,
    .cv-action-bar a[href]::after {
        content: none !important;
        display: none !important;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   18. CV PAGE SHARED STYLES
   ========================================================================== */
.cv-section {
    margin-bottom: var(--spacing-md);
}

.cv-section-title {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    margin-bottom: var(--spacing-sm);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    color: var(--text-primary);
}

/* Breadcrumbs (for case pages) */
.breadcrumbs {
    font-size: var(--text-xs);
    line-height: var(--leading-snug);
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-sm);
}

.breadcrumbs a {
    color: var(--text-secondary);
}

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

/* ==========================================================================
   ELEMENTOR / WORDPRESS OVERRIDES (For Case Studies)
   ========================================================================== */

body.elemenfolio-template,
body.elementor-page {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* Typography Overrides */
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--font-body) !important;
    font-weight: var(--font-semibold) !important;
    line-height: var(--leading-snug) !important;
    color: var(--text-primary) !important;
}

.elementor-heading-title span,
.elementor-widget-heading .elementor-heading-title span,
body.elemenfolio-template .elementor-heading-title span,
body.elementor-page .elementor-heading-title span {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    letter-spacing: inherit !important;
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p {
    font-family: var(--font-body) !important;
    font-size: var(--text-base) !important;
    font-weight: var(--font-normal) !important;
    line-height: var(--leading-normal) !important;
    color: var(--text-secondary) !important;
}

.elementor-widget-text-editor span:not(.material-icons) {
    font-size: inherit !important;
}

/* ==========================================================================
   Case Studies / Elementor Typography Hierarchy
   ========================================================================== */

/* In-content Chapter Headings in Case Studies (OVERVIEW, DESIGN SYSTEM, Ideate, Dachassistent Chapters, etc.) */
h1.elementor-heading-title,
body.elemenfolio-template h1,
body.elementor-page h1,
.elementor-element-ecb617c .elementor-heading-title,
.elementor-element-59ed761 .elementor-heading-title,
.elementor-element-dee448b .elementor-heading-title,
.elementor-element-fef6534 .elementor-heading-title,
.case-chapter-heading .elementor-heading-title {
    font-family: var(--font-body) !important;
    font-size: var(--text-xl) !important;
    /* 24px */
    font-weight: var(--font-semibold) !important;
    /* 600 */
    line-height: var(--leading-snug) !important;
    color: var(--text-primary) !important;
}

.case-chapter-heading .elementor-heading-title {
    margin-bottom: 0.85rem !important;
}

/* In-content Subchapters (Unterkapitel: PROBLEM, GOAL, Mid Fidelity Wireframes, User Personas, etc.) */
h2.elementor-heading-title,
body.elemenfolio-template h2,
body.elementor-page h2,
h3.elementor-heading-title,
body.elemenfolio-template h3,
body.elementor-page h3,
h4.elementor-heading-title,
body.elemenfolio-template h4,
body.elementor-page h4 {
    font-family: var(--font-body) !important;
    font-size: var(--text-lg) !important;
    /* 20px */
    font-weight: var(--font-semibold) !important;
    /* 600 */
    line-height: var(--leading-snug) !important;
    color: var(--text-primary) !important;
}

h5.elementor-heading-title,
h6.elementor-heading-title,
body.elemenfolio-template h5,
body.elemenfolio-template h6,
body.elementor-page h5,
body.elementor-page h6 {
    font-family: var(--font-body) !important;
    font-size: var(--text-md) !important;
    /* 18px */
    font-weight: var(--font-medium) !important;
    /* 500 */
    line-height: var(--leading-snug) !important;
    color: var(--text-secondary) !important;
}

/* Project Hero Main Title (H1 text title on case pages where title is text, like Dachassistent) */
.case-hero-title,
.elementor-element-233e1c1 .elementor-heading-title {
    font-family: var(--font-heading) !important;
    font-size: var(--text-3xl) !important;
    font-weight: var(--font-normal) !important;
    line-height: var(--leading-tight) !important;
    color: var(--accent) !important;
    /* #c84032 (Design & Technologie accent color) */
}

/* Case Study Subheadlines under Logo/Title (Veedle etc.) */
.case-hero-subtitle,
.elementor-element-3e3ab48 .elementor-heading-title,
.elementor-element-399b6d8 .elementor-heading-title {
    font-family: var(--font-body) !important;
    font-size: var(--text-lg) !important;
    font-weight: var(--font-medium) !important;
    line-height: var(--leading-snug) !important;
    color: var(--text-secondary) !important;
}

/* Let's get political: Subchapters (Color, Iconography, Typography, Prototyp) */
.elementor-element-0644e36 .elementor-heading-title,
.elementor-element-bdc4ce5 .elementor-heading-title,
.elementor-element-467f340 .elementor-heading-title,
.elementor-element-d6c8dce .elementor-heading-title {
    font-family: var(--font-body) !important;
    font-size: var(--text-lg) !important;
    /* 20px */
    font-weight: var(--font-semibold) !important;
    /* 600 */
    line-height: var(--leading-snug) !important;
    color: var(--text-primary) !important;
}



/* Minor specification label (e.g. 24px & 36px under Iconography) */
.elementor-element-fcab514 .elementor-heading-title {
    font-family: var(--font-body) !important;
    font-size: var(--text-md) !important;
    /* 18px */
    font-weight: var(--font-medium) !important;
    /* 500 */
    line-height: var(--leading-snug) !important;
    color: var(--text-secondary) !important;
}

/* Eyebrow / Kicker Headings (e.g. CASE STUDY, REDESIGN, Ein Vibe-Coding Prototyp) */
.case-kicker,
.eyebrow-label,
.elementor-element-1b2d940 .elementor-heading-title,
.elementor-element-9e6abf4 .elementor-heading-title,
.elementor-element-d888e71 .elementor-heading-title,
.elementor-element-5ad78af .elementor-heading-title,
.elementor-element-10bc584 .elementor-heading-title {
    font-family: var(--font-body) !important;
    font-size: var(--text-xs) !important;
    font-weight: var(--font-semibold) !important;
    text-transform: uppercase !important;
    letter-spacing: var(--tracking-wide) !important;
    line-height: var(--leading-snug) !important;
}

/* Fix Elementor Dark Mode Accents / Backgrounds */
.elementor-section {
    background-color: transparent !important;
}

/* We only override hardcoded black/white backgrounds so they adapt */
.elementor-section[data-settings*='"background_background":"classic"'] {
    /* If there is an inline style we might not be able to override easily without JS, but let's try */
}

/* Let's reset the easy-spoiler btn color in dark/light mode */
.easy-spoiler-btn {
    color: var(--text-primary) !important;
}

/* Ensure Material Icons font is never overridden by generic span font-family */
.material-icons,
span.material-icons,
.easy-spoiler-btn .material-icons {
    font-family: 'Material Icons' !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: var(--text-xl) !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
    direction: ltr !important;
    -webkit-font-feature-settings: 'liga' !important;
    -webkit-font-smoothing: antialiased !important;
    vertical-align: middle;
}

body.elemenfolio-template p,
body.elemenfolio-template li,
body.elementor-page p,
body.elementor-page li {
    font-family: var(--font-body) !important;
    font-weight: var(--font-normal) !important;
}

body.elemenfolio-template span:not(.elementor-heading-title *):not(.material-icons),
body.elementor-page span:not(.elementor-heading-title *):not(.material-icons) {
    font-family: var(--font-body) !important;
    font-weight: var(--font-normal) !important;
}

body.elemenfolio-template b,
body.elemenfolio-template strong,
body.elementor-page b,
body.elementor-page strong {
    font-weight: var(--font-semibold) !important;
}

/* Fix Elementor top spacing since old header is gone */
body.elemenfolio-template .elementor-type-wp-post>.elementor-section:first-child {
    display: none !important;
}

body.elemenfolio-template main.site-main {
    padding-top: calc(var(--header-height) + 4.5rem) !important;
}

/* Generous breathing room for Veedle, Telekom Digital Factory and 1Lieferschein */
body.postid-11555 main.site-main,
body.postid-2328 main.site-main,
body.postid-11250 main.site-main {
    padding-top: calc(var(--header-height) + 5.5rem) !important;
}

@media (max-width: 768px) {
    body.elemenfolio-template main.site-main {
        padding-top: calc(var(--header-height) + 3rem) !important;
    }

    body.postid-11555 main.site-main,
    body.postid-2328 main.site-main,
    body.postid-11250 main.site-main {
        padding-top: calc(var(--header-height) + 3.5rem) !important;
    }
}

/* Lets Get Political (post-3514) Fixes */
/* 1. Remove unwanted box shadow on right spacer of User Journey Map */
.elementor-3514 .elementor-element.elementor-element-03b9246>.elementor-element-populated,
.elementor-element.elementor-element-03b9246>.elementor-element-populated {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}

/* 2. Text flow normalization: prevent broken line wraps */
body.postid-3514 .elementor-widget-heading .elementor-heading-title span,
body.postid-3514 .elementor-widget-text-editor p span {
    white-space: normal !important;
}

/* 4. Prototype Video responsive sizing & centered layout */
.elementor-3514 .elementor-element.elementor-element-d92b64f {
    display: flex;
    justify-content: center;
}

@media (max-width: 1100px) {
    .elementor-3514 .elementor-element.elementor-element-d92b64f {
        width: 100% !important;
    }

    .elementor-3514 .elementor-element.elementor-element-44323ab {
        display: none !important;
    }
}

.prototype-video-container {
    --proto-w: 280px;
    --proto-radius: 44px;
    width: var(--proto-w);
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 10 / 21;
    position: relative;
    background: transparent;
}

@media (max-width: 767px) {
    .prototype-video-container {
        /* Kompakt auf Smartphones (ca. 235px Breite / 493px Höhe - garantiert nie zu groß!) */
        --proto-w: min(235px, 72vw);
        --proto-radius: 37px;
    }
}

.prototype-video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    clip-path: inset(0.9% 0.0% round var(--proto-radius));
}

.veedle-video-container {
    --proto-w: 280px;
    --proto-radius: 40px;
    width: var(--proto-w);
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 12 / 21;
    position: relative;
    background: transparent;
}

@media (max-width: 767px) {
    .veedle-video-container {
        /* Kompakt auf Smartphones */
        --proto-w: min(235px, 72vw);
        --proto-radius: 37px;
    }
}

.veedle-video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    clip-path: inset(0.0% 7.6% round var(--proto-radius));
}

.telekom-video-container {
    --telekom-w: 100%;
    --telekom-radius: 28px;
    --telekom-crop-y: 2%;
    /* Oben & Unten abschneiden (z.B. 1%) */
    --telekom-crop-x: 8%;
    /* Links & Rechts abschneiden (z.B. 5%) */
    width: var(--telekom-w);
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    position: relative;
    background: transparent;
}

@media (max-width: 767px) {
    .telekom-video-container {
        /* Kompakt und zentriert auf Smartphones */
        --telekom-w: min(235px, 72vw);
        --telekom-radius: 20px;
    }
}

.telekom-video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    clip-path: inset(var(--telekom-crop-y) var(--telekom-crop-x) round var(--telekom-radius));
    border-radius: var(--telekom-radius);
}

/* ==========================================================================
   Custom Play Button Overlay for Mockup Videos
   ========================================================================== */
.telekom-video-container,
.veedle-video-container,
.prototype-video-container {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.video-play-icon {
    width: 52px;
    height: 52px;
    background: rgba(40, 40, 40, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease;
}

.video-play-icon svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    margin-left: 2px;
    /* Optische Mitte des Dreiecks */
}

.telekom-video-container:hover .video-play-icon,
.veedle-video-container:hover .video-play-icon,
.prototype-video-container:hover .video-play-icon {
    transform: scale(1.1);
    background: rgba(50, 50, 50, 0.65);
    border-color: rgba(255, 255, 255, 0.45);
}

.telekom-video-container.is-playing .video-play-overlay,
.veedle-video-container.is-playing .video-play-overlay,
.prototype-video-container.is-playing .video-play-overlay {
    opacity: 0;
    visibility: hidden;
}

/* Ensure Typography section is always visible on desktop and tablet */
@media (min-width: 768px) {

    body.postid-3514 .elementor-element-26d75e2,
    body.postid-3514 #typo-safe-wrapper {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }
}

/* Light mode support for Typography table */
[data-theme='light'] body.postid-3514 #typo-safe-wrapper,
html:not([data-theme='dark']) body.postid-3514 #typo-safe-wrapper {
    --text-color: #111827 !important;
    --meta-color: #6b7280 !important;
    --line-color: rgba(0, 0, 0, 0.12) !important;
}

[data-theme='light'] body.postid-3514 #typo-safe-wrapper .label,
[data-theme='light'] body.postid-3514 #typo-safe-wrapper .text,
[data-theme='light'] body.postid-3514 #typo-safe-wrapper p,
[data-theme='light'] body.postid-3514 #typo-safe-wrapper h1,
[data-theme='light'] body.postid-3514 #typo-safe-wrapper h2,
[data-theme='light'] body.postid-3514 #typo-safe-wrapper h3,
[data-theme='light'] body.postid-3514 #typo-safe-wrapper h4,
[data-theme='light'] body.postid-3514 #typo-safe-wrapper h5,
[data-theme='light'] body.postid-3514 #typo-safe-wrapper h6 {
    color: #111827 !important;
}

[data-theme='light'] body.postid-3514 #typo-safe-wrapper .metadata {
    color: #6b7280 !important;
}

/* 5. Light Mode SVG & Arrow Adaptations (Make white SVGs/arrows black in Light Mode) */
/* Section Arrows: curved desktop vector arrows & mobile PNG arrows */
[data-theme='light'] body.postid-3514 .elementor-element-e60c8b0 svg,
[data-theme='light'] body.postid-3514 .elementor-element-0db5965 svg,
[data-theme='light'] body.postid-3514 .elementor-element-f42f045 svg,
[data-theme='light'] body.postid-3514 .elementor-element-aa965c0 svg,
[data-theme='light'] body.postid-3514 .elementor-element-8b15cd6 svg,
[data-theme='light'] body.postid-3514 .elementor-element-1ccc115 svg,
[data-theme='light'] body.postid-3514 .adaptive-svg-arrow,
[data-theme='light'] body.postid-3514 .adaptive-svg-arrow svg,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-e60c8b0 svg,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-0db5965 svg,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-f42f045 svg,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-aa965c0 svg,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-8b15cd6 svg,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-1ccc115 svg,
html:not([data-theme='dark']) body.postid-3514 .adaptive-svg-arrow,
html:not([data-theme='dark']) body.postid-3514 .adaptive-svg-arrow svg {
    filter: brightness(0) !important;
}

/* Project Overview Banner (SVG #3) */
[data-theme='light'] body.postid-3514 .elementor-element-c54d8bd svg .headline,
[data-theme='light'] body.postid-3514 .elementor-element-c54d8bd svg .body-text,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-c54d8bd svg .headline,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-c54d8bd svg .body-text {
    fill: #111931 !important;
}

/* Mobile Process Diagram Labels (SVG #5) */
[data-theme='light'] #process-svg .label-blue,
[data-theme='light'] #process-svg .label-green,
html:not([data-theme='dark']) #process-svg .label-blue,
html:not([data-theme='dark']) #process-svg .label-green {
    fill: #111931 !important;
}

/* Timeline Grid Lines (SVG #6) */
[data-theme='light'] body.postid-3514 .elementor-element-5d60ee5 svg .col-line,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-5d60ee5 svg .col-line {
    stroke: rgba(0, 0, 0, 0.15) !important;
}

/* Userflow Diagram Arrows, Lines & Heads (SVG #12 & #13) */
[data-theme='light'] body.postid-3514 .elementor-element-2f54c77 svg .line-path,
[data-theme='light'] body.postid-3514 .elementor-element-380e5f1 svg .arrow,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-2f54c77 svg .line-path,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-380e5f1 svg .arrow {
    stroke: #111931 !important;
}

[data-theme='light'] body.postid-3514 .elementor-element-2f54c77 svg .arrow-head,
[data-theme='light'] body.postid-3514 .elementor-element-380e5f1 svg marker polygon,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-2f54c77 svg .arrow-head,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-380e5f1 svg marker polygon {
    fill: #111931 !important;
}

[data-theme='light'] body.postid-3514 .elementor-element-2f54c77 svg .loop-text,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-2f54c77 svg .loop-text {
    fill: #555555 !important;
}

/* Design System Color Titles & Descriptions (SVG #17 & #18) */
[data-theme='light'] body.postid-3514 .elementor-element-f40addd svg .category-title,
[data-theme='light'] body.postid-3514 .elementor-element-f40addd svg .category-desc,
[data-theme='light'] body.postid-3514 .elementor-element-43c1a3b svg .category-title,
[data-theme='light'] body.postid-3514 .elementor-element-43c1a3b svg .category-desc,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-f40addd svg .category-title,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-f40addd svg .category-desc,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-43c1a3b svg .category-title,
html:not([data-theme='dark']) body.postid-3514 .elementor-element-43c1a3b svg .category-desc {
    fill: #111931 !important;
}

/* Iconography Labels (SVG #19) */
[data-theme='light'] body.postid-3514 .elementor-element-cf218bc svg path[fill="white"],
[data-theme='light'] body.postid-3514 .elementor-element-cf218bc svg path[fill="#ffffff"],
[data-theme='light'] body.postid-3514 .elementor-element-cf218bc svg path[fill="#FFFFFF"],
html:not([data-theme='dark']) body.postid-3514 .elementor-element-cf218bc svg path[fill="white"],
html:not([data-theme='dark']) body.postid-3514 .elementor-element-cf218bc svg path[fill="#ffffff"],
html:not([data-theme='dark']) body.postid-3514 .elementor-element-cf218bc svg path[fill="#FFFFFF"] {
    fill: #111931 !important;
}

/* ==========================================================================
   THEME-ADAPTIVE IMAGES
   ========================================================================== */
[data-theme='dark'] .theme-img-light {
    display: none !important;
}

[data-theme='dark'] .theme-img-dark {
    display: block !important;
}

[data-theme='light'] .theme-img-dark,
html:not([data-theme='dark']) .theme-img-dark {
    display: none !important;
}

[data-theme='light'] .theme-img-light,
html:not([data-theme='dark']) .theme-img-light {
    display: block !important;
}

/* ==========================================================================
   1LIEFERSCHEIN (postid-11250) LIGHT MODE ADAPTATIONS
   ========================================================================== */

/* 1. Logo SVG: white text lieferschein changes to brand purple #373184 */
[data-theme='light'] body.postid-11250 .elementor-element-358e354 svg .st1,
[data-theme='light'] body.postid-11250 .elementor-element-41e33da svg .st1,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-358e354 svg .st1,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-41e33da svg .st1 {
    fill: #373184 !important;
}

/* 2. REDESIGN Headings in Light Mode */
[data-theme='light'] body.postid-11250 .elementor-element-9e6abf4 .elementor-heading-title,
[data-theme='light'] body.postid-11250 .elementor-element-d888e71 .elementor-heading-title,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-9e6abf4 .elementor-heading-title,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-d888e71 .elementor-heading-title {
    color: #111827 !important;
}

/* 3. Text under mockups (remove text-shadow, high-contrast dark text) */
[data-theme='light'] body.postid-11250 .elementor-element-202b9b7,
[data-theme='light'] body.postid-11250 .elementor-element-202b9b7 *,
[data-theme='light'] body.postid-11250 .elementor-element-64b5834,
[data-theme='light'] body.postid-11250 .elementor-element-64b5834 *,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-202b9b7,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-202b9b7 *,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-64b5834,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-64b5834 * {
    color: var(--text-primary) !important;
    text-shadow: none !important;
}

/* 4. Tasks Box: Modern Card Styling (both Light & Dark Mode) */
body.postid-11250 .elementor-element-cde132b,
body.postid-11250 .elementor-element-8fe0c48,
.elementor-11250 .elementor-element.elementor-element-cde132b,
.elementor-11250 .elementor-element.elementor-element-8fe0c48 {
    border-radius: 20px !important;
    overflow: hidden !important;
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
    box-sizing: border-box !important;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.postid-11250 .elementor-element-cde132b>.elementor-background-overlay,
body.postid-11250 .elementor-element-8fe0c48>.elementor-background-overlay {
    border-radius: 20px !important;
}

/* Tasks Box: Dark Mode Card Treatment */
[data-theme='dark'] body.postid-11250 .elementor-element-cde132b,
[data-theme='dark'] body.postid-11250 .elementor-element-8fe0c48,
[data-theme='dark'] .elementor-11250 .elementor-element.elementor-element-cde132b,
[data-theme='dark'] .elementor-11250 .elementor-element.elementor-element-8fe0c48 {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4) !important;
    background: rgba(180, 20, 30, 0.15) !important;
}

/* Tasks Box: Light Mode Card Treatment */
[data-theme='light'] body.postid-11250 .elementor-element-cde132b,
[data-theme='light'] body.postid-11250 .elementor-element-8fe0c48,
[data-theme='light'] .elementor-11250 .elementor-element.elementor-element-cde132b,
[data-theme='light'] .elementor-11250 .elementor-element.elementor-element-8fe0c48,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-cde132b,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-8fe0c48,
html:not([data-theme='dark']) .elementor-11250 .elementor-element.elementor-element-cde132b,
html:not([data-theme='dark']) .elementor-11250 .elementor-element.elementor-element-8fe0c48 {
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme='light'] body.postid-11250 .elementor-element-cde132b>.elementor-background-overlay,
[data-theme='light'] body.postid-11250 .elementor-element-8fe0c48>.elementor-background-overlay,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-cde132b>.elementor-background-overlay,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-8fe0c48>.elementor-background-overlay {
    opacity: 0 !important;
    display: none !important;
}

/* Tasks Box SVGs: change to brand purple in Light Mode, silver-white in Dark Mode */
[data-theme='light'] body.postid-11250 .elementor-element-cde132b svg path,
[data-theme='light'] body.postid-11250 .elementor-element-8fe0c48 svg path,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-cde132b svg path,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-8fe0c48 svg path {
    fill: #373184 !important;
}

/* Tasks Box List Subpoints & Spacing (Universal for Light & Dark Mode) */
body.postid-11250 .elementor-element-c4a6c23 ul,
body.postid-11250 .elementor-element-08d53b9 ul {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

body.postid-11250 .elementor-element-c4a6c23 ul li,
body.postid-11250 .elementor-element-08d53b9 ul li {
    position: relative !important;
    padding-left: 1.6rem !important;
    margin-bottom: 0.75rem !important;
    line-height: var(--leading-normal) !important;
    font-size: var(--text-base);
}

body.postid-11250 .elementor-element-c4a6c23 ul li:last-child,
body.postid-11250 .elementor-element-08d53b9 ul li:last-child {
    margin-bottom: 0 !important;
}

body.postid-11250 .elementor-element-c4a6c23 ul li::before,
body.postid-11250 .elementor-element-08d53b9 ul li::before {
    content: "•";
    position: absolute;
    left: 0.25rem;
    top: -0.05rem;
    font-size: var(--text-xl);
    line-height: var(--leading-normal);
}

/* Tasks Box Bullets & Text Color: Light Mode */
[data-theme='light'] body.postid-11250 .elementor-element-c4a6c23,
[data-theme='light'] body.postid-11250 .elementor-element-c4a6c23 ul li,
[data-theme='light'] body.postid-11250 .elementor-element-08d53b9,
[data-theme='light'] body.postid-11250 .elementor-element-08d53b9 ul li,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-c4a6c23,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-c4a6c23 ul li,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-08d53b9,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-08d53b9 ul li {
    color: #111827 !important;
}

[data-theme='light'] body.postid-11250 .elementor-element-c4a6c23 ul li::before,
[data-theme='light'] body.postid-11250 .elementor-element-08d53b9 ul li::before,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-c4a6c23 ul li::before,
html:not([data-theme='dark']) body.postid-11250 .elementor-element-08d53b9 ul li::before {
    color: #DA0E1E !important;
}

/* Tasks Box Bullets & Text Color: Dark Mode (Crisp White Bullets on Dark Red) */
[data-theme='dark'] body.postid-11250 .elementor-element-c4a6c23,
[data-theme='dark'] body.postid-11250 .elementor-element-c4a6c23 ul li,
[data-theme='dark'] body.postid-11250 .elementor-element-08d53b9,
[data-theme='dark'] body.postid-11250 .elementor-element-08d53b9 ul li {
    color: #FFFFFF !important;
}

[data-theme='dark'] body.postid-11250 .elementor-element-c4a6c23 ul li::before,
[data-theme='dark'] body.postid-11250 .elementor-element-08d53b9 ul li::before {
    color: #FFFFFF !important;
    text-shadow: none !important;
}

/* 5. Before/After Twentytwenty Labels in Light Mode */
[data-theme='light'] body.postid-11250 .wb_ebais_twentytwenty_container .twentytwenty-before-label::before,
[data-theme='light'] body.postid-11250 .wb_ebais_twentytwenty_container .twentytwenty-after-label::before,
html:not([data-theme='dark']) body.postid-11250 .wb_ebais_twentytwenty_container .twentytwenty-before-label::before,
html:not([data-theme='dark']) body.postid-11250 .wb_ebais_twentytwenty_container .twentytwenty-after-label::before {
    background: rgba(255, 255, 255, 0.75) !important;
    color: #111827 !important;
}

/* ==========================================================================
   TELEKOM DIGITAL FACTORY (postid-2328) LIGHT MODE ADAPTATIONS
   ========================================================================== */

/* 1. Typography & Headings in Light Mode */
[data-theme='light'] body.postid-2328 .elementor-element-c745d5c,
[data-theme='light'] body.postid-2328 .elementor-element-c745d5c p,
[data-theme='light'] body.postid-2328 .elementor-element-8c000f9,
[data-theme='light'] body.postid-2328 .elementor-element-8c000f9 p,
[data-theme='light'] body.postid-2328 .elementor-element-8c000f9 span,
[data-theme='light'] body.postid-2328 .elementor-element-e973b14 .elementor-heading-title,
html:not([data-theme='dark']) body.postid-2328 .elementor-element-c745d5c,
html:not([data-theme='dark']) body.postid-2328 .elementor-element-c745d5c p,
html:not([data-theme='dark']) body.postid-2328 .elementor-element-8c000f9,
html:not([data-theme='dark']) body.postid-2328 .elementor-element-8c000f9 p,
html:not([data-theme='dark']) body.postid-2328 .elementor-element-8c000f9 span,
html:not([data-theme='dark']) body.postid-2328 .elementor-element-e973b14 .elementor-heading-title {
    color: #111827 !important;
}

/* Typography & Headings in Dark Mode */
[data-theme='dark'] body.postid-2328 .elementor-element-c745d5c,
[data-theme='dark'] body.postid-2328 .elementor-element-c745d5c p,
[data-theme='dark'] body.postid-2328 .elementor-element-8c000f9,
[data-theme='dark'] body.postid-2328 .elementor-element-8c000f9 p,
[data-theme='dark'] body.postid-2328 .elementor-element-8c000f9 span,
[data-theme='dark'] body.postid-2328 .elementor-element-e973b14 .elementor-heading-title {
    color: #f0f0f0 !important;
}

/* 2. Inline SVGs & Swiper Chevrons in Light & Dark Mode */
[data-theme='light'] body.postid-2328 svg path[fill="white"],
[data-theme='light'] body.postid-2328 svg path[fill="#ffffff"],
[data-theme='light'] body.postid-2328 svg path[fill="#FFFFFF"],
html:not([data-theme='dark']) body.postid-2328 svg path[fill="white"],
html:not([data-theme='dark']) body.postid-2328 svg path[fill="#ffffff"],
html:not([data-theme='dark']) body.postid-2328 svg path[fill="#FFFFFF"] {
    fill: #111827 !important;
}

[data-theme='dark'] body.postid-2328 svg path[fill="white"],
[data-theme='dark'] body.postid-2328 svg path[fill="#ffffff"],
[data-theme='dark'] body.postid-2328 svg path[fill="#FFFFFF"] {
    fill: #f0f0f0 !important;
}

body.postid-2328 .elementor-swiper-button {
    cursor: pointer !important;
    z-index: 10 !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

body.postid-2328 .elementor-swiper-button:hover {
    transform: scale(1.15) !important;
}

[data-theme='light'] body.postid-2328 .elementor-swiper-button,
[data-theme='light'] body.postid-2328 .elementor-swiper-button i,
html:not([data-theme='dark']) body.postid-2328 .elementor-swiper-button,
html:not([data-theme='dark']) body.postid-2328 .elementor-swiper-button i {
    color: #111827 !important;
}

[data-theme='dark'] body.postid-2328 .elementor-swiper-button,
[data-theme='dark'] body.postid-2328 .elementor-swiper-button i {
    color: #f0f0f0 !important;
}

/* Swiper Pagination Bullets */
body.postid-2328 .swiper-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 1rem !important;
}

body.postid-2328 .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    outline: none !important;
}

[data-theme='light'] body.postid-2328 .swiper-pagination-bullet,
html:not([data-theme='dark']) body.postid-2328 .swiper-pagination-bullet {
    background: #9ca3af !important;
    opacity: 0.6 !important;
}

[data-theme='dark'] body.postid-2328 .swiper-pagination-bullet {
    background: #4b5563 !important;
    opacity: 0.6 !important;
}

body.postid-2328 .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #E20074 !important;
    opacity: 1 !important;
    transform: scale(1.25) !important;
}

/* Disable legacy Elementor page transition overlay everywhere */
e-page-transition,
.e-page-transition {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}


/* 3. Video Showcase Section: Scroll-Driven Glowing Magenta Frame */
body.postid-2328 .elementor-element-e5e5bc3,
.elementor-2328 .elementor-element.elementor-element-e5e5bc3 {
    position: relative !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Remove legacy Elementor backgrounds & overlays */
body.postid-2328 .elementor-element-e5e5bc3:not(.elementor-motion-effects-element-type-background),
body.postid-2328 .elementor-element-e5e5bc3>.elementor-motion-effects-container>.elementor-motion-effects-layer,
.elementor-2328 .elementor-element.elementor-element-e5e5bc3:not(.elementor-motion-effects-element-type-background),
.elementor-2328 .elementor-element.elementor-element-e5e5bc3>.elementor-motion-effects-container>.elementor-motion-effects-layer {
    background-color: transparent !important;
    background-image: none !important;
}

body.postid-2328 .elementor-element-e5e5bc3>.elementor-background-overlay {
    display: none !important;
}

/* The Showcase Container / Box: 100% transparent, identical to page background */
body.postid-2328 .elementor-element-e5e5bc3 .tdf-showcase-container,
.tdf-showcase-container {
    position: relative !important;
    border-radius: 28px !important;
    max-width: 1360px !important;
    width: 100% !important;
    padding: 3.5rem 3.5rem !important;
    box-sizing: border-box !important;
    border: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

@media (max-width: 1440px) {

    body.postid-2328 .elementor-element-e5e5bc3 .tdf-showcase-container,
    .tdf-showcase-container {
        max-width: 96% !important;
        padding: 3rem 2rem !important;
    }
}

@media (max-width: 767px) {

    body.postid-2328 .elementor-element-e5e5bc3 .tdf-showcase-container,
    .tdf-showcase-container {
        padding: 2rem 1rem !important;
        border-radius: 20px !important;
    }
}

/* Light & Dark Mode: 100% seamless transparent background */
[data-theme='light'] .tdf-showcase-container,
html:not([data-theme='dark']) .tdf-showcase-container,
[data-theme='dark'] .tdf-showcase-container {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* SVG Overlay for the glowing frame */
.tdf-glow-frame {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

/* Base line removed completely per user request */
.tdf-frame-base {
    display: none !important;
}

/* The Glowing Magenta Laser Beam: Endless Orbiter */
.tdf-frame-glow {
    fill: none !important;
    stroke: #E20074 !important;
    stroke-width: 3px !important;
    stroke-linecap: round !important;
    filter: drop-shadow(0 0 5px #E20074) drop-shadow(0 0 14px #E20074) drop-shadow(0 0 28px rgba(226, 0, 116, 0.9)) !important;
    will-change: stroke-dashoffset !important;
}

/* Ensure video containers and content remain above the base frame and interactive */
.tdf-showcase-container>.elementor-column {
    position: relative !important;
    z-index: 6 !important;
}

body.postid-2328 .telekom-video-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

body.postid-2328 .telekom-video-container:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 40px rgba(226, 0, 116, 0.28) !important;
}

/* ==========================================================================
   PISCITELLI (postid-11171) LIGHT MODE ADAPTATIONS
   ========================================================================== */

/* 1. Typography & Headings in Light Mode */
[data-theme='light'] body.postid-11171 .elementor-element-5ad78af .elementor-heading-title,
[data-theme='light'] body.postid-11171 .elementor-element-10bc584 .elementor-heading-title,
[data-theme='light'] body.postid-11171 .elementor-element-db38f47,
[data-theme='light'] body.postid-11171 .elementor-element-db38f47 *,
[data-theme='light'] body.postid-11171 .elementor-element-5adb159,
[data-theme='light'] body.postid-11171 .elementor-element-5adb159 *,
[data-theme='light'] body.postid-11171 .elementor-element-f6e27d1,
[data-theme='light'] body.postid-11171 .elementor-element-f6e27d1 *,
[data-theme='light'] body.postid-11171 .elementor-element-0a3a692,
[data-theme='light'] body.postid-11171 .elementor-element-0a3a692 *,
[data-theme='light'] body.postid-11171 .elementor-element-683b22a,
[data-theme='light'] body.postid-11171 .elementor-element-683b22a *,
[data-theme='light'] body.postid-11171 .elementor-element-d4a2807,
[data-theme='light'] body.postid-11171 .elementor-element-d4a2807 *,
[data-theme='light'] body.postid-11171 .elementor-element-dc58843,
[data-theme='light'] body.postid-11171 .elementor-element-dc58843 *,
[data-theme='light'] body.postid-11171 .elementor-element-c9776fc,
[data-theme='light'] body.postid-11171 .elementor-element-c9776fc *,
[data-theme='light'] body.postid-11171 .elementor-element-2f04634,
[data-theme='light'] body.postid-11171 .elementor-element-2f04634 *,
[data-theme='light'] body.postid-11171 .elementor-element-88ce159,
[data-theme='light'] body.postid-11171 .elementor-element-88ce159 *,
[data-theme='light'] body.postid-11171 .elementor-element-f6d5e9d,
[data-theme='light'] body.postid-11171 .elementor-element-f6d5e9d *,
[data-theme='light'] body.postid-11171 .elementor-element-2ff2411,
[data-theme='light'] body.postid-11171 .elementor-element-2ff2411 *,
[data-theme='light'] body.postid-11171 .elementor-element-071b87d,
[data-theme='light'] body.postid-11171 .elementor-element-071b87d *,
[data-theme='light'] body.postid-11171 .elementor-element-d6136f4,
[data-theme='light'] body.postid-11171 .elementor-element-d6136f4 *,
[data-theme='light'] body.postid-11171 .elementor-element-37b8ae8,
[data-theme='light'] body.postid-11171 .elementor-element-37b8ae8 *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-5ad78af .elementor-heading-title,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-10bc584 .elementor-heading-title,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-db38f47,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-db38f47 *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-5adb159,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-5adb159 *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-f6e27d1,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-f6e27d1 *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-0a3a692,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-0a3a692 *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-683b22a,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-683b22a *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-d4a2807,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-d4a2807 *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-dc58843,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-dc58843 *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-c9776fc,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-c9776fc *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-2f04634,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-2f04634 *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-88ce159,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-88ce159 *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-f6d5e9d,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-f6d5e9d *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-2ff2411,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-2ff2411 *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-071b87d,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-071b87d *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-d6136f4,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-d6136f4 *,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-37b8ae8,
html:not([data-theme='dark']) body.postid-11171 .elementor-element-37b8ae8 * {
    color: #111827 !important;
}

/* 2. Inline SVGs & Wave-Divider in Light Mode */
/* Typography SVG (#5) and other SVGs: White fills and strokes turn to dark graphite */
[data-theme='light'] body.postid-11171 svg path[fill="white"],
[data-theme='light'] body.postid-11171 svg path[fill="#ffffff"],
[data-theme='light'] body.postid-11171 svg path[fill="#FFFFFF"],
html:not([data-theme='dark']) body.postid-11171 svg path[fill="white"],
html:not([data-theme='dark']) body.postid-11171 svg path[fill="#ffffff"],
html:not([data-theme='dark']) body.postid-11171 svg path[fill="#FFFFFF"] {
    fill: #111827 !important;
}

[data-theme='light'] body.postid-11171 svg path[stroke="white"],
[data-theme='light'] body.postid-11171 svg path[stroke="#ffffff"],
[data-theme='light'] body.postid-11171 svg path[stroke="#FFFFFF"],
html:not([data-theme='dark']) body.postid-11171 svg path[stroke="white"],
html:not([data-theme='dark']) body.postid-11171 svg path[stroke="#ffffff"],
html:not([data-theme='dark']) body.postid-11171 svg path[stroke="#FFFFFF"] {
    stroke: #111827 !important;
}

/* Color Overview SVG (#6): Hex & color labels turn to dark text */
[data-theme='light'] body.postid-11171 svg text,
html:not([data-theme='dark']) body.postid-11171 svg text {
    fill: #111827 !important;
}

/* Back to Top with Progress */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
}

[data-theme='dark'] .progress-wrap {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap svg.progress-circle {
    fill: none;
    stroke: var(--accent);
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

.progress-wrap .arrow-up {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-primary);
    z-index: 3;
}

.progress-wrap:hover {
    transform: translateY(-3px);
}

/* ==========================================================================

/* ==========================================================================
   13. CASE LAYOUT WITH SIDEBAR
   ========================================================================== */
.case-layout {
    display: flex;
    flex-direction: row;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 1.5rem;
    gap: 3rem;
}

/* Mobile: hide sidebar completely */
.case-sidebar {
    display: none;
}

/* Desktop layout (>= 992px) */
@media (min-width: 992px) {
    .case-sidebar {
        display: block;
        width: 250px;
        flex-shrink: 0;
    }

    .sidebar-inner {
        position: fixed;
        bottom: 2.5rem;
        left: max(1.5rem, calc((100vw - 1400px) / 2 + 1.5rem));
        width: 240px;
        z-index: 90;
        max-height: calc(100vh - 6rem);
        overflow-y: auto;
        scrollbar-width: none;

        /* Hidden initially, appears smoothly when scrolling past chapter 1 */
        opacity: 0;
        visibility: hidden;
        transform: translateY(16px);
        transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0.35s ease;
        pointer-events: none;
    }

    .sidebar-inner::-webkit-scrollbar {
        display: none;
    }

    .case-sidebar.is-visible .sidebar-inner,
    .sidebar-inner.is-visible {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
}

.sidebar-title {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 0.7rem;
    position: relative;
    padding-left: 1.1rem;
    line-height: var(--leading-snug);
    font-size: var(--text-sm);
}

.sidebar-menu li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-tertiary);
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
}

.sidebar-menu a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color var(--transition-fast), font-weight var(--transition-fast);
    display: inline-block;
}

.sidebar-menu a:hover,
.sidebar-menu a.is-active {
    color: var(--text-primary);
    font-weight: var(--font-semibold);
}

/* Make sure the elementor div takes remaining space */
.case-layout>.elementor {
    flex-grow: 1;
    min-width: 0;
}

/* ==========================================================================
   Let's Get Political - Case Study Redesign Styles
   ========================================================================== */
body.postid-3514 {
    --political-accent: #1A3B5C;
}

html[data-theme='dark'] body.postid-3514 {
    --political-accent: #4D79FF;
}

/* 1. Sidebar title and active item coloring */
body.postid-3514 .sidebar-title {
    color: var(--political-accent) !important;
}

body.postid-3514 .sidebar-menu a.is-active {
    color: var(--political-accent) !important;
}

body.postid-3514 .sidebar-menu li:has(a.is-active)::before {
    color: var(--political-accent) !important;
}

/* 2. Accent-colored Headings */
.elementor-3514 .elementor-element.elementor-element-cd37097 .elementor-heading-title,
.elementor-3514 .elementor-element.elementor-element-7bfbfd3,
.elementor-3514 .elementor-element.elementor-element-49303a1 .elementor-heading-title,
.elementor-3514 .elementor-element.elementor-element-f3e4982 .elementor-heading-title,
.elementor-3514 .elementor-element.elementor-element-0644e36 .elementor-heading-title,
.elementor-3514 .elementor-element.elementor-element-bdc4ce5 .elementor-heading-title,
.elementor-3514 .elementor-element.elementor-element-fcab514 .elementor-heading-title,
.elementor-3514 .elementor-element.elementor-element-467f340 .elementor-heading-title,
.elementor-3514 .elementor-element.elementor-element-3dc6c3d {
    color: var(--political-accent) !important;
}

/* 3. Accent-colored Card Borders */
.elementor-3514 .elementor-element.elementor-element-25896ee>.elementor-element-populated,
.elementor-3514 .elementor-element.elementor-element-96b4fd6>.elementor-element-populated,
.elementor-3514 .elementor-element.elementor-element-213faff>.elementor-element-populated,
.elementor-3514 .elementor-element.elementor-element-8d83bc5>.elementor-element-populated,
.elementor-3514 .elementor-element.elementor-element-4315ac1>.elementor-element-populated,
.elementor-3514 .elementor-element.elementor-element-2584702>.elementor-element-populated,
.elementor-3514 .elementor-element.elementor-element-4ba1915>.elementor-element-populated {
    border-color: var(--political-accent) !important;
}

/* 4. Design Process Diagram & inline SVGs */
body.postid-3514 #process-svg .label-blue,
body.postid-3514 .elementor-element-d85a4a9 .label-blue,
body.postid-3514 .label-blue,
body.postid-3514 .highlight-blue {
    fill: var(--political-accent) !important;
}

body.postid-3514 #process-svg rect[fill="#4D79FF"],
body.postid-3514 #process-svg path[fill="#4D79FF"],
body.postid-3514 .elementor-element-d85a4a9 svg rect[fill="#4D79FF"],
body.postid-3514 .elementor-element-d85a4a9 svg path[fill="#4D79FF"],
body.postid-3514 .elementor-element-599cc14 svg path[fill="#4D79FF"],
body.postid-3514 .elementor-element-599cc14 svg rect[fill="#4D79FF"],
body.postid-3514 .elementor-element-2875e53 svg path[fill="#4D79FF"] {
    fill: var(--political-accent) !important;
}

/* 4.1 Timeline Week Headers ("Woche 1", "Woche 2", etc.) */
body.postid-3514 .elementor-element-5d60ee5 svg .header,
body.postid-3514 .elementor-element-09d586d svg .header {
    fill: var(--political-accent) !important;
}

/* 5. User Journey Map Container - Clean layout without outer border */
body.postid-3514 .elementor-element.elementor-element-b0f298e,
body.postid-3514 .elementor-element.elementor-element-03b9246 {
    display: none !important;
}

body.postid-3514 .elementor-element.elementor-element-46f8068 {
    width: 100% !important;
    max-width: 100% !important;
}

body.postid-3514 .elementor-element.elementor-element-46f8068>.elementor-element-populated,
body.postid-3514 .elementor-element.elementor-element-edd938d>.elementor-element-populated {
    padding: 1.5rem 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
}

html[data-theme='dark'] body.postid-3514 .elementor-element.elementor-element-46f8068>.elementor-element-populated,
html[data-theme='dark'] body.postid-3514 .elementor-element.elementor-element-edd938d>.elementor-element-populated {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* Headings and descriptive text within User Journey Map */
body.postid-3514 .elementor-element-1c38b37 .elementor-heading-title,
body.postid-3514 .elementor-element-1bfb870 .elementor-heading-title,
body.postid-3514 .elementor-element-d819654 .elementor-heading-title,
body.postid-3514 .elementor-element-b7de781 .elementor-heading-title,
body.postid-3514 .elementor-element-bb24e2a .elementor-heading-title,
body.postid-3514 .elementor-element-6a816e7 .elementor-heading-title,
body.postid-3514 .elementor-element-44f06a0 .elementor-heading-title,
body.postid-3514 .elementor-element-a0848bd .elementor-heading-title {
    color: var(--political-accent) !important;
}

body.postid-3514 .elementor-element-8da7b9f,
body.postid-3514 .elementor-element-8da7b9f p,
body.postid-3514 .elementor-element-b7c08ce,
body.postid-3514 .elementor-element-b7c08ce ul,
body.postid-3514 .elementor-element-b7c08ce li,
body.postid-3514 .elementor-element-e53ffce,
body.postid-3514 .elementor-element-e53ffce p,
body.postid-3514 .elementor-element-949b3fa,
body.postid-3514 .elementor-element-949b3fa ul,
body.postid-3514 .elementor-element-949b3fa li {
    color: var(--text-primary) !important;
}

body.postid-3514 .elementor-element-b7c08ce ul,
body.postid-3514 .elementor-element-949b3fa ul {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

body.postid-3514 .elementor-element-b7c08ce ul li,
body.postid-3514 .elementor-element-949b3fa ul li {
    position: relative !important;
    padding-left: 1.3rem !important;
    margin-bottom: 0.4rem !important;
    line-height: var(--leading-normal, 1.5) !important;
}

body.postid-3514 .elementor-element-b7c08ce ul li:last-child,
body.postid-3514 .elementor-element-949b3fa ul li:last-child {
    margin-bottom: 0 !important;
}

body.postid-3514 .elementor-element-b7c08ce ul li::before,
body.postid-3514 .elementor-element-949b3fa ul li::before {
    content: "•";
    position: absolute;
    left: 0.15rem;
    top: -0.05rem;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--political-accent) !important;
}

body.postid-3514 .elementor-element-5549b09 .elementor-heading-title,
body.postid-3514 .elementor-element-7df70cd .elementor-heading-title,
body.postid-3514 .elementor-element-0dbc4b9 .elementor-heading-title,
body.postid-3514 .elementor-element-88b44bb .elementor-heading-title,
body.postid-3514 .elementor-element-23d82ca .elementor-heading-title,
body.postid-3514 .elementor-element-90c1552 .elementor-heading-title,
body.postid-3514 .elementor-element-66ecb54 .elementor-heading-title,
body.postid-3514 .elementor-element-917b45e .elementor-heading-title {
    color: var(--text-primary) !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
}

/* 6. User Journey Map - Phasen Cards (Compact Sizing, Clean Text, No Overflow) */
/* Reset widget wrappers so they do NOT force full-column heights or overlap */
.elementor-3514 .elementor-element.elementor-element-3be6b8e,
.elementor-3514 .elementor-element.elementor-element-ee80392,
.elementor-3514 .elementor-element.elementor-element-3f6cee3,
.elementor-3514 .elementor-element.elementor-element-abef54b,
.elementor-3514 .elementor-element.elementor-element-89335d1,
.elementor-3514 .elementor-element.elementor-element-90a6186,
.elementor-3514 .elementor-element.elementor-element-1281ea8,
.elementor-3514 .elementor-element.elementor-element-feb60a6,
.elementor-3514 .elementor-element.elementor-element-ee97133,
.elementor-3514 .elementor-element.elementor-element-d8277b5,
.elementor-3514 .elementor-element.elementor-element-5ead3e7,
.elementor-3514 .elementor-element.elementor-element-150150d,
.elementor-3514 .elementor-element.elementor-element-45e7aae,
.elementor-3514 .elementor-element.elementor-element-198931c,
.elementor-3514 .elementor-element.elementor-element-b5a7e31,
.elementor-3514 .elementor-element.elementor-element-2423642 {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
}

/* Row 1 cards (Phasen top row) */
.elementor-3514 .elementor-element.elementor-element-3be6b8e>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-3f6cee3>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-89335d1>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-1281ea8>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-ee97133>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-5ead3e7>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-45e7aae>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-b5a7e31>.elementor-widget-container {
    background-color: var(--political-accent) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0.75rem 0.65rem !important;
    width: 100% !important;
    height: auto !important;
    min-height: 75px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Row 2 cards (Phasen bottom row) */
.elementor-3514 .elementor-element.elementor-element-ee80392>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-abef54b>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-90a6186>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-feb60a6>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-d8277b5>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-150150d>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-198931c>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-2423642>.elementor-widget-container {
    background-color: var(--political-accent) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0.75rem 0.65rem !important;
    width: 100% !important;
    height: auto !important;
    min-height: 70px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Dark mode for all Phasen cards */
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-3be6b8e>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-ee80392>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-3f6cee3>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-abef54b>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-89335d1>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-90a6186>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-1281ea8>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-feb60a6>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-ee97133>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-d8277b5>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-5ead3e7>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-150150d>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-45e7aae>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-198931c>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-b5a7e31>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-2423642>.elementor-widget-container {
    background-color: #2a52be !important;
}

/* Compact, tight typography inside Phasen cards (no extra margin-block-end) */
.elementor-3514 .elementor-element.elementor-element-3be6b8e p,
.elementor-3514 .elementor-element.elementor-element-ee80392 p,
.elementor-3514 .elementor-element.elementor-element-3f6cee3 p,
.elementor-3514 .elementor-element.elementor-element-abef54b p,
.elementor-3514 .elementor-element.elementor-element-89335d1 p,
.elementor-3514 .elementor-element.elementor-element-90a6186 p,
.elementor-3514 .elementor-element.elementor-element-1281ea8 p,
.elementor-3514 .elementor-element.elementor-element-feb60a6 p,
.elementor-3514 .elementor-element.elementor-element-ee97133 p,
.elementor-3514 .elementor-element.elementor-element-d8277b5 p,
.elementor-3514 .elementor-element.elementor-element-5ead3e7 p,
.elementor-3514 .elementor-element.elementor-element-150150d p,
.elementor-3514 .elementor-element.elementor-element-45e7aae p,
.elementor-3514 .elementor-element.elementor-element-198931c p,
.elementor-3514 .elementor-element.elementor-element-b5a7e31 p,
.elementor-3514 .elementor-element.elementor-element-2423642 p {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

/* Spacers between Row 1 and Row 2 inside Phasen */
.elementor-3514 .elementor-element.elementor-element-9f5b237,
.elementor-3514 .elementor-element.elementor-element-cbe3f62,
.elementor-3514 .elementor-element.elementor-element-aa982ef,
.elementor-3514 .elementor-element.elementor-element-69f77d1,
.elementor-3514 .elementor-element.elementor-element-217237e,
.elementor-3514 .elementor-element.elementor-element-33ed621,
.elementor-3514 .elementor-element.elementor-element-c826657,
.elementor-3514 .elementor-element.elementor-element-269a214 {
    --spacer-size: 12px !important;
    height: 12px !important;
    min-height: 12px !important;
}

/* Ensure Phasen inner section clears and creates proper margin above Emotionen */
.elementor-3514 section.elementor-element-1d2676d,
.elementor-3514 section.elementor-element-69265cc {
    margin-bottom: 2rem !important;
    clear: both !important;
}

.elementor-3514 .elementor-element.elementor-element-06bfe0e,
.elementor-3514 .elementor-element.elementor-element-b77c7b0 {
    --spacer-size: 20px !important;
    height: 20px !important;
    clear: both !important;
}

/* 7. User Journey Map - Emotionen Cards (Compact Sizing, Centered Content, White Text, Standardized Emojis) */
/* Reset widget wrappers */
.elementor-3514 .elementor-element.elementor-element-4c34e32,
.elementor-3514 .elementor-element.elementor-element-09d6252,
.elementor-3514 .elementor-element.elementor-element-f27e257,
.elementor-3514 .elementor-element.elementor-element-9ded0f4,
.elementor-3514 .elementor-element.elementor-element-ef123c9,
.elementor-3514 .elementor-element.elementor-element-0202fa8,
.elementor-3514 .elementor-element.elementor-element-4f5442f,
.elementor-3514 .elementor-element.elementor-element-00d8d52 {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
}

/* Style inner container of Emotionen cards */
.elementor-3514 .elementor-element.elementor-element-4c34e32>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-09d6252>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-f27e257>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-9ded0f4>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-ef123c9>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-0202fa8>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-4f5442f>.elementor-widget-container,
.elementor-3514 .elementor-element.elementor-element-00d8d52>.elementor-widget-container {
    background-color: #12283e !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0.85rem 0.75rem !important;
    width: 100% !important;
    height: auto !important;
    min-height: 125px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-4c34e32>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-09d6252>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-f27e257>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-9ded0f4>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-ef123c9>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-0202fa8>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-4f5442f>.elementor-widget-container,
html[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-00d8d52>.elementor-widget-container {
    background-color: #022D72 !important;
}

/* Compact typography inside Emotionen cards (no extra margin-block-end) */
.elementor-3514 .elementor-element.elementor-element-4c34e32 p,
.elementor-3514 .elementor-element.elementor-element-09d6252 p,
.elementor-3514 .elementor-element.elementor-element-f27e257 p,
.elementor-3514 .elementor-element.elementor-element-9ded0f4 p,
.elementor-3514 .elementor-element.elementor-element-ef123c9 p,
.elementor-3514 .elementor-element.elementor-element-0202fa8 p,
.elementor-3514 .elementor-element.elementor-element-4f5442f p,
.elementor-3514 .elementor-element.elementor-element-00d8d52 p {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.elementor-3514 .journey-emoji-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 0.5rem !important;
    padding-top: 0 !important;
}

.elementor-3514 .journey-emoji-wrap img.emoji,
.elementor-3514 .elementor-element.elementor-element-4c34e32 img,
.elementor-3514 .elementor-element.elementor-element-09d6252 img,
.elementor-3514 .elementor-element.elementor-element-f27e257 img,
.elementor-3514 .elementor-element.elementor-element-9ded0f4 img,
.elementor-3514 .elementor-element.elementor-element-ef123c9 img,
.elementor-3514 .elementor-element.elementor-element-0202fa8 img,
.elementor-3514 .elementor-element.elementor-element-4f5442f img,
.elementor-3514 .elementor-element.elementor-element-00d8d52 img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    margin: 0 auto !important;
    display: block !important;
}

/* ==========================================================================
   Section 8: User Journey Map Heading Spacing & Visual Hierarchy
   ========================================================================== */

/* Add generous top spacing above "User journey Map" so it is clearly separated
   from "User Story: Kira", and sits directly above the map grid below */
.elementor-3514 section.elementor-element.elementor-element-b28b529,
body.postid-3514 section.elementor-element-b28b529 {
    margin-top: 5.5rem !important;
    margin-bottom: 0.5rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Heading widget styling */
.elementor-3514 .elementor-element.elementor-element-49303a1 {
    margin-bottom: 0.25rem !important;
}

.elementor-3514 .elementor-element.elementor-element-49303a1 .elementor-heading-title {
    color: var(--political-accent) !important;
}

/* Reduce spacer between heading and the map cards */
.elementor-3514 .elementor-element.elementor-element-86aac8c,
.elementor-3514 .elementor-element.elementor-element-86aac8c .elementor-spacer-inner {
    height: 15px !important;
    --spacer-size: 15px !important;
}

/* Mobile section heading spacing */
.elementor-3514 section.elementor-element.elementor-element-1c05e9d,
body.postid-3514 section.elementor-element-1c05e9d {
    margin-top: 4.5rem !important;
    margin-bottom: 1rem !important;
}

/* ==========================================================================
   Section 9: Usability Testing Responsive Boxes
   Fixes word-breaking ("Wischgeste", "Navigation", etc.) on mid-sized screens
   by removing empty spacer columns and creating a clean flex layout.
   ========================================================================== */

/* Hide empty spacer columns (83f8cdc, 5713084, 8c398b5, 12a7110 = 45.58% dead space) */
.elementor-3514 .elementor-element.elementor-element-83f8cdc,
.elementor-3514 .elementor-element.elementor-element-5713084,
.elementor-3514 .elementor-element.elementor-element-8c398b5,
.elementor-3514 .elementor-element.elementor-element-12a7110 {
    display: none !important;
}

/* Make Usability Testing container a flexible, wrapping flexbox */
.elementor-3514 section.elementor-element.elementor-element-ad9c96d>.elementor-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    box-sizing: border-box !important;
}

/* Box column styling (Desktop / Tablet) */
.elementor-3514 .elementor-element.elementor-element-4315ac1,
.elementor-3514 .elementor-element.elementor-element-2584702,
.elementor-3514 .elementor-element.elementor-element-4ba1915 {
    flex: 1 1 280px !important;
    max-width: 350px !important;
    min-width: 240px !important;
    width: auto !important;
    display: flex !important;
    box-sizing: border-box !important;
}

/* Card container inside column */
.elementor-3514 .elementor-element.elementor-element-4315ac1>.elementor-element-populated,
.elementor-3514 .elementor-element.elementor-element-2584702>.elementor-element-populated,
.elementor-3514 .elementor-element.elementor-element-4ba1915>.elementor-element-populated {
    border-style: solid !important;
    border-width: 2.5px !important;
    border-color: var(--political-accent, #4c7cfc) !important;
    border-radius: 36px !important;
    padding: 1.5rem 1.25rem !important;
    width: 100% !important;
    min-height: 120px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    background: transparent !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.elementor-3514 .elementor-element.elementor-element-4315ac1>.elementor-element-populated:hover,
.elementor-3514 .elementor-element.elementor-element-2584702>.elementor-element-populated:hover,
.elementor-3514 .elementor-element.elementor-element-4ba1915>.elementor-element-populated:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(76, 124, 252, 0.15) !important;
}

/* Unconstrain inner text widgets from hardcoded 62%/71% width limits */
.elementor-3514 .elementor-element.elementor-element-e4fd806,
.elementor-3514 .elementor-element.elementor-element-6c59382,
.elementor-3514 .elementor-element.elementor-element-3d33e41,
.elementor-3514 .elementor-element.elementor-element-2a0c639,
.elementor-3514 .elementor-element.elementor-element-2293c47,
.elementor-3514 .elementor-element.elementor-element-44a3b8a {
    width: 100% !important;
    max-width: 100% !important;
    --container-widget-width: 100% !important;
    margin: 0 !important;
}

/* Prevent word-splitting/hyphenation on German words and set responsive text color */
.elementor-3514 .elementor-element.elementor-element-e4fd806 span,
.elementor-3514 .elementor-element.elementor-element-e4fd806 p,
.elementor-3514 .elementor-element.elementor-element-6c59382 span,
.elementor-3514 .elementor-element.elementor-element-6c59382 p,
.elementor-3514 .elementor-element.elementor-element-3d33e41 span,
.elementor-3514 .elementor-element.elementor-element-3d33e41 p,
.elementor-3514 .elementor-element.elementor-element-2a0c639 span,
.elementor-3514 .elementor-element.elementor-element-2a0c639 p,
.elementor-3514 .elementor-element.elementor-element-2293c47 span,
.elementor-3514 .elementor-element.elementor-element-2293c47 p,
.elementor-3514 .elementor-element.elementor-element-44a3b8a span,
.elementor-3514 .elementor-element.elementor-element-44a3b8a p {
    color: var(--text-primary, #1d1d1f) !important;
    font-size: 1.02rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    text-align: center !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    white-space: normal !important;
    display: inline-block !important;
    margin: 0 !important;
}

[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-e4fd806 span,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-e4fd806 p,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-6c59382 span,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-6c59382 p,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-3d33e41 span,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-3d33e41 p,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-2a0c639 span,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-2a0c639 p,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-2293c47 span,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-2293c47 p,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-44a3b8a span,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-44a3b8a p {
    color: #ffffff !important;
}

/* Tablet responsiveness (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .elementor-3514 section.elementor-element.elementor-element-ad9c96d>.elementor-container {
        gap: 1rem !important;
        padding: 0 1rem !important;
    }

    .elementor-3514 .elementor-element.elementor-element-4315ac1,
    .elementor-3514 .elementor-element.elementor-element-2584702,
    .elementor-3514 .elementor-element.elementor-element-4ba1915 {
        flex: 1 1 210px !important;
        max-width: 320px !important;
        min-width: 200px !important;
    }

    .elementor-3514 .elementor-element.elementor-element-4315ac1>.elementor-element-populated,
    .elementor-3514 .elementor-element.elementor-element-2584702>.elementor-element-populated,
    .elementor-3514 .elementor-element.elementor-element-4ba1915>.elementor-element-populated {
        padding: 1.25rem 1rem !important;
        min-height: 110px !important;
        border-radius: 30px !important;
    }

    .elementor-3514 .elementor-element.elementor-element-e4fd806 span,
    .elementor-3514 .elementor-element.elementor-element-6c59382 span,
    .elementor-3514 .elementor-element.elementor-element-3d33e41 span {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }
}

/* Mobile responsiveness (< 768px) for section c70c4dd */
@media (max-width: 767px) {
    .elementor-3514 section.elementor-element.elementor-element-c70c4dd>.elementor-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        padding: 0 1.25rem !important;
    }

    .elementor-3514 .elementor-element.elementor-element-03702a3,
    .elementor-3514 .elementor-element.elementor-element-5281969,
    .elementor-3514 .elementor-element.elementor-element-9f6da6b {
        width: 100% !important;
        max-width: 100% !important;
    }

    .elementor-3514 .elementor-element.elementor-element-03702a3>.elementor-element-populated,
    .elementor-3514 .elementor-element.elementor-element-5281969>.elementor-element-populated,
    .elementor-3514 .elementor-element.elementor-element-9f6da6b>.elementor-element-populated {
        border-style: solid !important;
        border-width: 2.5px !important;
        border-color: var(--political-accent, #4c7cfc) !important;
        border-radius: 28px !important;
        padding: 1.25rem 1rem !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
    }
}

/* ==========================================================================
   Section 10: Problem Statement & Mögliche Lösung Responsive Boxes
   Fixes word-breaking ("beschäftigen", "mitzugestalten", "Interessen", etc.)
   on mid-sized screens by removing spacer columns and setting up a flex layout.
   ========================================================================== */

/* Hide empty spacer columns */
.elementor-3514 .elementor-element.elementor-element-9c07627,
.elementor-3514 .elementor-element.elementor-element-ba0a787,
.elementor-3514 .elementor-element.elementor-element-08d88f4,
.elementor-3514 .elementor-element.elementor-element-0e408d8,
.elementor-3514 .elementor-element.elementor-element-8476526 {
    display: none !important;
}

/* Make desktop/tablet section container a flexible, wrapping flexbox */
.elementor-3514 section.elementor-element.elementor-element-aee9c82>.elementor-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    box-sizing: border-box !important;
}

/* Problem Statement & Mögliche Lösung column styling (Desktop / Tablet) */
.elementor-3514 .elementor-element.elementor-element-25896ee,
.elementor-3514 .elementor-element.elementor-element-96b4fd6 {
    flex: 1 1 340px !important;
    max-width: 480px !important;
    min-width: 280px !important;
    width: auto !important;
    display: flex !important;
    box-sizing: border-box !important;
}

/* Card container inside column */
.elementor-3514 .elementor-element.elementor-element-25896ee>.elementor-element-populated,
.elementor-3514 .elementor-element.elementor-element-96b4fd6>.elementor-element-populated {
    border-style: solid !important;
    border-width: 2.5px !important;
    border-color: var(--political-accent, #4c7cfc) !important;
    border-radius: 36px !important;
    padding: 2.25rem 2rem !important;
    width: 100% !important;
    min-height: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    box-sizing: border-box !important;
    background: transparent !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.elementor-3514 .elementor-element.elementor-element-25896ee>.elementor-element-populated:hover,
.elementor-3514 .elementor-element.elementor-element-96b4fd6>.elementor-element-populated:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(76, 124, 252, 0.15) !important;
}

/* Unconstrain inner text widgets from hardcoded 62%/71% width limits */
.elementor-3514 .elementor-element.elementor-element-6271631,
.elementor-3514 .elementor-element.elementor-element-bd1b657,
.elementor-3514 .elementor-element.elementor-element-f8f1e39,
.elementor-3514 .elementor-element.elementor-element-03bf447 {
    width: 100% !important;
    max-width: 100% !important;
    --container-widget-width: 100% !important;
    margin: 0 !important;
}

/* Headings inside Problem Statement and Mögliche Lösung */
.elementor-3514 .elementor-element.elementor-element-8455945,
.elementor-3514 .elementor-element.elementor-element-2343409,
.elementor-3514 .elementor-element.elementor-element-51045fc,
.elementor-3514 .elementor-element.elementor-element-22fac8c {
    width: 100% !important;
    margin-bottom: 1.15rem !important;
}

.elementor-3514 .elementor-element.elementor-element-8455945 .elementor-heading-title,
.elementor-3514 .elementor-element.elementor-element-8455945 .elementor-heading-title span,
.elementor-3514 .elementor-element.elementor-element-2343409 .elementor-heading-title,
.elementor-3514 .elementor-element.elementor-element-2343409 .elementor-heading-title span,
.elementor-3514 .elementor-element.elementor-element-51045fc .elementor-heading-title,
.elementor-3514 .elementor-element.elementor-element-51045fc .elementor-heading-title span,
.elementor-3514 .elementor-element.elementor-element-22fac8c .elementor-heading-title,
.elementor-3514 .elementor-element.elementor-element-22fac8c .elementor-heading-title span {
    color: var(--text-primary, #1d1d1f) !important;
    font-size: 1.45rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-8455945 .elementor-heading-title,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-8455945 .elementor-heading-title span,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-2343409 .elementor-heading-title,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-2343409 .elementor-heading-title span,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-51045fc .elementor-heading-title,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-51045fc .elementor-heading-title span,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-22fac8c .elementor-heading-title,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-22fac8c .elementor-heading-title span {
    color: #ffffff !important;
}

/* Text Content typography & word-break prevention */
.elementor-3514 .elementor-element.elementor-element-6271631 p,
.elementor-3514 .elementor-element.elementor-element-6271631 span,
.elementor-3514 .elementor-element.elementor-element-bd1b657 p,
.elementor-3514 .elementor-element.elementor-element-bd1b657 span,
.elementor-3514 .elementor-element.elementor-element-f8f1e39 p,
.elementor-3514 .elementor-element.elementor-element-f8f1e39 span,
.elementor-3514 .elementor-element.elementor-element-03bf447 p,
.elementor-3514 .elementor-element.elementor-element-03bf447 span {
    color: var(--text-primary, #1d1d1f) !important;
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    text-align: center !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    white-space: normal !important;
    margin: 0 !important;
}

[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-6271631 p,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-6271631 span,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-bd1b657 p,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-bd1b657 span,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-f8f1e39 p,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-f8f1e39 span,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-03bf447 p,
[data-theme='dark'] .elementor-3514 .elementor-element.elementor-element-03bf447 span {
    color: #ffffff !important;
}

/* Disable scroll-driven translateY motion on screen sizes where boxes wrap / stack (<= 1150px) */
@media (max-width: 1150px) {

    .elementor-3514 .elementor-element.elementor-element-25896ee,
    .elementor-3514 .elementor-element.elementor-element-96b4fd6,
    .elementor-3514 .elementor-element.elementor-element-25896ee.elementor-motion-effects-element,
    .elementor-3514 .elementor-element.elementor-element-96b4fd6.elementor-motion-effects-element,
    .elementor-3514 .elementor-element.elementor-element-25896ee .elementor-motion-effects-element,
    .elementor-3514 .elementor-element.elementor-element-96b4fd6 .elementor-motion-effects-element {
        transform: none !important;
    }

    .elementor-3514 section.elementor-element.elementor-element-aee9c82>.elementor-container {
        gap: 2rem !important;
    }
}

/* Tablet responsiveness (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .elementor-3514 section.elementor-element.elementor-element-aee9c82>.elementor-container {
        gap: 2rem !important;
        padding: 0 1rem !important;
    }

    .elementor-3514 .elementor-element.elementor-element-25896ee,
    .elementor-3514 .elementor-element.elementor-element-96b4fd6 {
        flex: 1 1 280px !important;
        max-width: 450px !important;
        min-width: 240px !important;
        transform: none !important;
    }

    .elementor-3514 .elementor-element.elementor-element-25896ee>.elementor-element-populated,
    .elementor-3514 .elementor-element.elementor-element-96b4fd6>.elementor-element-populated {
        padding: 1.75rem 1.25rem !important;
        min-height: 170px !important;
        border-radius: 30px !important;
    }

    .elementor-3514 .elementor-element.elementor-element-6271631 p,
    .elementor-3514 .elementor-element.elementor-element-6271631 span,
    .elementor-3514 .elementor-element.elementor-element-bd1b657 p,
    .elementor-3514 .elementor-element.elementor-element-bd1b657 span {
        font-size: 0.98rem !important;
        line-height: 1.45 !important;
    }
}

/* Mobile responsiveness (< 768px) for section cbb914f */
@media (max-width: 767px) {
    .elementor-3514 section.elementor-element.elementor-element-cbb914f>.elementor-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        padding: 0 1.25rem !important;
    }

    .elementor-3514 .elementor-element.elementor-element-954254c,
    .elementor-3514 .elementor-element.elementor-element-653cdd6 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .elementor-3514 .elementor-element.elementor-element-954254c>.elementor-element-populated,
    .elementor-3514 .elementor-element.elementor-element-653cdd6>.elementor-element-populated {
        border-style: solid !important;
        border-width: 2.5px !important;
        border-color: var(--political-accent, #4c7cfc) !important;
        border-radius: 28px !important;
        padding: 1.75rem 1.25rem !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
    }
}

/* ==========================================================================
   Section 12: Hero Spacing - Title SVG & Mock-up
   ========================================================================== */
.elementor-3514 .elementor-element.elementor-element-3ceb524 {
    --spacer-size: 20px !important;
}

.elementor-3514 .elementor-element.elementor-element-ce3b598 {
    --spacer-size: 15px !important;
}

@media (min-width: 768px) {
    .elementor-3514 .elementor-element.elementor-element-377e84a>.elementor-container {
        column-gap: 1rem !important;
    }

    .elementor-3514 .elementor-element.elementor-element-53d2442 {
        margin-left: -2rem !important;
    }
}

@media (max-width: 767px) {
    .elementor-3514 .elementor-element.elementor-element-53d2442 {
        margin-top: -1rem !important;
    }
}

/* ==========================================================================
   Dachassistent - Case Study Accent Styles
   ========================================================================== */
/* 1. Sidebar title and active item coloring */
body.postid-11467 .sidebar-title {
    color: var(--accent) !important;
}

body.postid-11467 .sidebar-menu a.is-active {
    color: var(--accent) !important;
}

body.postid-11467 .sidebar-menu li:has(a.is-active)::before {
    color: var(--accent) !important;
}

/* ==========================================================================
   Veedle - Case Study Redesign Styles
   ========================================================================== */
body.postid-11555 {
    --veedle-accent: #D09C5D;
}

/* 1. Sidebar title and active item coloring */
body.postid-11555 .sidebar-title {
    color: var(--veedle-accent) !important;
}

body.postid-11555 .sidebar-menu a.is-active {
    color: var(--veedle-accent) !important;
}

body.postid-11555 .sidebar-menu li:has(a.is-active)::before {
    color: var(--veedle-accent) !important;
}

/* 2. List items & Unterpunkte with Veedle Accent color */
body.postid-11555 .elementor-widget-text-editor ul {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 1.2rem 0 !important;
}

body.postid-11555 .elementor-widget-text-editor ul li {
    position: relative !important;
    padding-left: 1.4rem !important;
    margin-bottom: 0.6rem !important;
    line-height: var(--leading-normal, 1.6) !important;
    color: var(--text-secondary) !important;
}

body.postid-11555 .elementor-widget-text-editor ul li:last-child {
    margin-bottom: 0 !important;
}

body.postid-11555 .elementor-widget-text-editor ul li::before {
    content: "•";
    position: absolute;
    left: 0.15rem;
    top: -0.05rem;
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--veedle-accent) !important;
}

body.postid-11555 .elementor-widget-text-editor ul li p {
    margin-bottom: 0 !important;
    display: inline;
}

/* ==========================================================================
   Case Studies - Interactive Prototype CTA Component
   ========================================================================== */
.case-prototype-section {
    padding: 1.5rem 0 !important;
}

.case-prototype-section .elementor-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
}

.case-prototype-section .elementor-column.elementor-col-100 {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.case-prototype-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.case-prototype-cta:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(200, 64, 50, 0.25);
}

.case-prototype-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    font-size: var(--text-xs);
    font-family: var(--font-body);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border-radius: var(--border-radius-full);
    background: rgba(200, 64, 50, 0.08);
    color: var(--accent);
    margin-bottom: 1.1rem;
}

[data-theme='dark'] .case-prototype-badge {
    background: rgba(224, 74, 60, 0.15);
    color: var(--accent);
}

body.postid-11555 .case-prototype-badge {
    background: rgba(208, 156, 93, 0.12);
    color: var(--veedle-accent);
}

.case-prototype-heading {
    font-family: var(--font-body) !important;
    font-size: clamp(1.5rem, 2.8vw, 1.875rem) !important;
    font-weight: var(--font-semibold) !important;
    line-height: var(--leading-snug) !important;
    color: var(--text-primary) !important;
    margin: 0 0 0.75rem 0 !important;
    text-align: center !important;
}

.case-prototype-text {
    font-family: var(--font-body) !important;
    font-size: var(--text-base) !important;
    line-height: var(--leading-normal) !important;
    color: var(--text-secondary) !important;
    max-width: 480px !important;
    margin: 0 auto 1.75rem auto !important;
    text-align: center !important;
}

.case-prototype-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    padding: 0.875rem 2.25rem !important;
    background-color: var(--accent) !important;
    color: #ffffff !important;
    font-family: var(--font-body) !important;
    font-weight: var(--font-semibold) !important;
    font-size: var(--text-base) !important;
    line-height: 1.2 !important;
    border-radius: var(--border-radius-full) !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(200, 64, 50, 0.25) !important;
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.case-prototype-btn:hover,
.case-prototype-btn:focus {
    background-color: var(--accent-hover) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(200, 64, 50, 0.35) !important;
}

.case-prototype-btn svg {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.case-prototype-btn:hover svg {
    transform: translate(2px, -2px);
}

@media (max-width: 767px) {
    .case-prototype-cta {
        padding: 2.25rem 1.25rem;
    }

    .case-prototype-btn {
        width: 100% !important;
        max-width: 320px;
        padding: 0.85rem 1.5rem !important;
    }
}

/* ==========================================================================
   19. MOBILE OPTIMIZATIONS & TWENTYTWENTY SLIDERS
   ========================================================================== */

/* Universal Twentytwenty Before/After Comparison Slider */
.twentytwenty-container {
    touch-action: pan-y !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    cursor: ew-resize !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    border-radius: var(--border-radius-md, 12px);
}

.twentytwenty-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    max-width: none !important;
    pointer-events: none !important;
}

.twentytwenty-handle {
    cursor: ew-resize !important;
    touch-action: none !important;
}

/* --------------------------------------------------------------------------
   Let's Get Political (post-3514) Mobile Improvements
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    /* 1. Reduce top spacing between headline/hero and top of screen by half */
    body.postid-3514 main.site-main {
        padding-top: calc(var(--header-height) + 1.15rem) !important;
    }

    .elementor-3514 .elementor-element-395ff01,
    .elementor-3514 .elementor-element-3ceb524 {
        display: none !important;
    }

    .elementor-3514 .elementor-element.elementor-element-377e84a {
        padding-top: 0 !important;
    }

    /* 2. Persona images (Tim, Kai, Kira) centered on mobile */
    .elementor-3514 .elementor-element-b99ea4d,
    .elementor-3514 .elementor-element-f044425,
    .elementor-3514 .elementor-element-cd019e1 {
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .elementor-3514 .elementor-element-b99ea4d .elementor-widget-container,
    .elementor-3514 .elementor-element-f044425 .elementor-widget-container,
    .elementor-3514 .elementor-element-cd019e1 .elementor-widget-container {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
    }

    .elementor-3514 .elementor-element-b99ea4d img,
    .elementor-3514 .elementor-element-f044425 img,
    .elementor-3514 .elementor-element-cd019e1 img {
        margin: 0 auto !important;
        display: block !important;
        max-width: min(240px, 68vw) !important;
        width: auto !important;
    }

    /* Hide empty fourth column in personas section */
    .elementor-3514 .elementor-element-625a16f {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   DHL Redesign (post-3225) Mobile Improvements
   Centered layout, no left/right alignment, no empty gaps
   -------------------------------------------------------------------------- */
/* Desktop Before/After centering */
@media (min-width: 768px) {
    .elementor-3225 .elementor-element-c897bfb,
    .elementor-3225 .elementor-element-3a16cdb,
    .elementor-3225 .elementor-element-9dc010c {
        display: flex !important;
        justify-content: center !important;
    }

    .elementor-3225 .elementor-element-fd25bea,
    .elementor-3225 .elementor-element-a2e24d4,
    .elementor-3225 .elementor-element-d8e63a1 {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }
}

/* Mobile DHL styles */
@media (max-width: 767px) {
    /* Spacers before and after before/after sliders reduced from 100px to remove blank gap */
    .elementor-3225 .elementor-element-a4bcd08,
    .elementor-3225 .elementor-element-a4bcd08 .elementor-spacer,
    .elementor-3225 .elementor-element-a4bcd08 .elementor-spacer-inner,
    .elementor-3225 .elementor-element-ba603d3,
    .elementor-3225 .elementor-element-ba603d3 .elementor-spacer,
    .elementor-3225 .elementor-element-ba603d3 .elementor-spacer-inner {
        height: 25px !important;
        min-height: 0 !important;
    }

    /* Hide empty spacer columns */
    .elementor-3225 .elementor-element-c3b2efa,
    .elementor-3225 .elementor-element-18e23f6,
    .elementor-3225 .elementor-element-a935942,
    .elementor-3225 .elementor-element-5abece8,
    .elementor-3225 .elementor-element-b82facd,
    .elementor-3225 .elementor-element-a649af1,
    .elementor-3225 .elementor-element-a54f364 {
        display: none !important;
    }

    /* Center all text widgets, paragraphs, and headings (no left- or right-alignment) */
    .elementor-3225 .elementor-widget-text-editor,
    .elementor-3225 .elementor-widget-text-editor p,
    .elementor-3225 .elementor-element-c6d3aa2,
    .elementor-3225 .elementor-element-c6d3aa2 p,
    .elementor-3225 .elementor-element-0b168d5,
    .elementor-3225 .elementor-element-0b168d5 p,
    .elementor-3225 .elementor-element-9b30c26,
    .elementor-3225 .elementor-element-9b30c26 p,
    .elementor-3225 .elementor-heading-title {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Center the 3 before/after sliders */
    .elementor-3225 .elementor-element-c897bfb,
    .elementor-3225 .elementor-element-3a16cdb,
    .elementor-3225 .elementor-element-9dc010c {
        width: 100% !important;
        max-width: 290px !important;
        margin: 1.25rem auto !important;
        display: flex !important;
        justify-content: center !important;
    }

    .elementor-3225 .elementor-element-fd25bea,
    .elementor-3225 .elementor-element-a2e24d4,
    .elementor-3225 .elementor-element-d8e63a1 {
        width: 100% !important;
        max-width: 290px !important;
        margin: 0 auto !important;
    }

    /* Center phone mockup image */
    .elementor-3225 .elementor-element-f17d6e5,
    .elementor-3225 .elementor-element-f17d6e5 .elementor-widget-container {
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .elementor-3225 .elementor-element-f17d6e5 img {
        margin: 0 auto !important;
        display: block !important;
        max-width: min(280px, 72vw) !important;
    }

    /* Center GIF mockup */
    .elementor-3225 .elementor-element-8174f22,
    .elementor-3225 .elementor-element-8174f22 .elementor-widget-container {
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .elementor-3225 .elementor-element-8174f22 img {
        margin: 0 auto !important;
        display: block !important;
        max-width: min(320px, 85vw) !important;
    }

    /* Center Figma icon */
    .elementor-3225 .elementor-element-52ed874,
    .elementor-3225 .elementor-element-52ed874 .elementor-widget-container {
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .elementor-3225 .elementor-element-52ed874 img {
        margin: 0 auto !important;
        display: inline-block !important;
    }

    /* Center all Elementor columns & widget wraps in DHL page */
    .elementor-3225 .elementor-column {
        text-align: center !important;
    }

    .elementor-3225 .elementor-widget-wrap {
        justify-content: center !important;
        align-items: center !important;
    }
}