/* ============================================================
   ZENTRALE FARBPALETTE
   Hier die Farben ändern – alle wiederverwendeten Bereiche
   (Navigation, Buttons, Karten, Hero usw.) übernehmen sie.
   ============================================================ */
:root,
[data-theme="a"] {
    /* Markenfarben */
    --color-page: rgb(236, 152, 42);
    --color-page-rgb: 236, 152, 42; /* RGB-Kanäle für transparente Varianten */
    --color-navbar: #F19A27;
    --color-orange-strong: #fd7c03;
    --color-card: rgb(194, 132, 50);
    --color-card-alt: rgba(200, 129, 35, 1);
    --color-petrol: #25535F;
    --color-petrol-dark: #193B44;
    --color-petrol-focus: #306C7A;
    --color-petrol-deep: #102A30;
    --color-petrol-link: #245464;
    --color-petrol-link-hover: #173e4c;
    --color-divider-olive: rgb(126, 117, 0);

    --color-text: #202020;
    --color-text-accent: #173E4C;
    --color-surface: rgb(194, 132, 50);

    /* Text / Oberflächen */
    --color-white: #fff;
    --color-black: #000;
    --color-ink: #202020;
    --color-navbar-text: #242424;
    --color-loader: #262626;
    --color-dark-surface: #222;
    --color-video-surface: #111;

    /* Wiederkehrende transparente Flächen */
    --overlay-soft: rgba(0, 0, 0, 0.06);
    --overlay-border: rgba(0, 0, 0, 0.12);
    --overlay-section: rgba(0, 0, 0, 0.15);
    --overlay-modal: rgba(0, 0, 0, 0.90);
    --overlay-amber: rgba(99, 61, 11, 0.432);
    --overlay-focus: rgba(22, 18, 9, 0.35);

    /* Video-Hero */
    --hero-surface-dark: #142e35;
    --hero-surface-warm: #7b4a22;
    --hero-tint-dark: rgba(17, 42, 49, .88);
    --hero-tint-petrol: rgba(37, 83, 95, .52);
    --hero-tint-orange: rgba(241, 154, 39, .42);
    --hero-glow: rgba(241, 154, 39, .32);
    --hero-light-text: #ffd09a;
    --hero-grid-line: rgba(255,255,255,.12);

    /* Hintergrundverlauf */
    --color-page-gradient: linear-gradient(110deg, #D18C32 0%, #EB9A2E 58%, #F2AF52 100%);
}

[data-theme="b"] {
    /* Markenfarben */
    --color-page: #0B1420;
    --color-page-rgb: 11, 20, 32;
    --color-navbar: #101F30;
    --color-orange-strong: #E7AC62;
    --color-card: #172A3B;
    --color-card-alt: #1D3448;

    --color-petrol: #245F77;
    --color-petrol-dark: #193F54;
    --color-petrol-focus: #307A96;
    --color-petrol-deep: #102D3D;
    --color-petrol-link: #80D4F4;
    --color-petrol-link-hover: #B5E9FF;

    --color-divider-olive: #34596B;

    --color-text: #98c8ff;
    --color-text-accent: #98DFFF;
    --color-surface: #172A3B;

    /* Text / Oberflächen */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-ink: #FFFFFF;
    --color-navbar-text: #FFFFFF;
    --color-loader: #245F77;
    --color-dark-surface: #101F30;
    --color-video-surface: #080F18;

    /* Wiederkehrende transparente Flächen */
    --overlay-soft: rgba(255, 255, 255, 0.04);
    --overlay-border: rgba(160, 205, 225, 0.16);
    --overlay-section: rgba(255, 255, 255, 0.05);
    --overlay-modal: rgba(4, 10, 18, 0.94);
    --overlay-amber: rgba(36, 95, 119, 0.35);
    --overlay-focus: rgba(48, 122, 150, 0.35);

    /* Video-Hero */
    --hero-surface-dark: #0B1420;
    --hero-surface-warm: #284C62;

    --hero-tint-dark: rgba(6, 16, 28, 0.90);
    --hero-tint-petrol: rgba(23, 75, 101, 0.60);
    --hero-tint-orange: #284C62;

    --hero-glow: 284C62;
    --hero-light-text: #F5D3A5;
    --hero-grid-line: rgba(180, 220, 240, 0.10);

    /* Hintergrundverlauf */
    --color-page-gradient: linear-gradient(110deg, #091522 0%, #142B42 52%, #284C62 100%);
}


/* =========================================
   C — CYBER PURPLE
   Futuristisch / KI / Developer Tools
   ========================================= */
[data-theme="c"] {
    --color-page: #100D1C;
    --color-page-rgb: 16, 13, 28;
    --color-navbar: #191429;
    --color-orange-strong: #B78AFF;
    --color-card: #211B38;
    --color-card-alt: #2B2248;
    --color-petrol: #7652C7;
    --color-petrol-dark: #493287;
    --color-petrol-focus: #A47CFF;
    --color-petrol-deep: #24183F;
    --color-petrol-link: #C3A4FF;
    --color-petrol-link-hover: #E0D0FF;
    --color-divider-olive: #51416F;

    --color-text: #E6DEFA;
    --color-text-accent: #D2B7FF;
    --color-surface: #211B38;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-ink: #F5F0FF;
    --color-navbar-text: #F5F0FF;
    --color-loader: #B78AFF;
    --color-dark-surface: #191429;
    --color-video-surface: #090611;

    --overlay-soft: rgba(255, 255, 255, 0.04);
    --overlay-border: rgba(190, 160, 255, 0.18);
    --overlay-section: rgba(155, 109, 255, 0.07);
    --overlay-modal: rgba(9, 6, 17, 0.95);
    --overlay-amber: rgba(140, 75, 220, 0.25);
    --overlay-focus: rgba(155, 109, 255, 0.35);

    --hero-surface-dark: #100D1C;
    --hero-surface-warm: #39205B;
    --hero-tint-dark: rgba(12, 8, 25, 0.90);
    --hero-tint-petrol: rgba(90, 50, 160, 0.54);
    --hero-tint-orange: rgba(185, 95, 235, 0.30);
    --hero-glow: rgba(155, 109, 255, 0.38);
    --hero-light-text: #E0C8FF;
    --hero-grid-line: rgba(200, 170, 255, 0.12);

    /* Hintergrundverlauf */
    --color-page-gradient: linear-gradient(110deg, #100D1C 0%, #292046 50%, #58396C 100%);
}

/* =========================================
   D — EMERALD TECH
   Modern / SaaS / Cybersecurity
   ========================================= */
[data-theme="d"] {
    --color-page: #091B18;
    --color-page-rgb: 9, 27, 24;
    --color-navbar: #102720;
    --color-orange-strong: #4DF0B2;
    --color-card: #14382F;
    --color-card-alt: #1B463B;
    --color-petrol: #187F65;
    --color-petrol-dark: #105A49;
    --color-petrol-focus: #26B990;
    --color-petrol-deep: #0D3E33;
    --color-petrol-link: #72EDBD;
    --color-petrol-link-hover: #B3FFE1;
    --color-divider-olive: #366D55;

    --color-text: #D7F4E9;
    --color-text-accent: #9AF2CC;
    --color-surface: #14382F;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-ink: #E8FFF5;
    --color-navbar-text: #E8FFF5;
    --color-loader: #28D9A0;
    --color-dark-surface: #102720;
    --color-video-surface: #06120F;

    --overlay-soft: rgba(255, 255, 255, 0.04);
    --overlay-border: rgba(100, 230, 170, 0.15);
    --overlay-section: rgba(40, 217, 160, 0.06);
    --overlay-modal: rgba(3, 15, 11, 0.95);
    --overlay-amber: rgba(40, 180, 115, 0.22);
    --overlay-focus: rgba(40, 217, 160, 0.35);

    --hero-surface-dark: #091B18;
    --hero-surface-warm: #245942;
    --hero-tint-dark: rgba(4, 20, 15, 0.90);
    --hero-tint-petrol: rgba(10, 100, 75, 0.55);
    --hero-tint-orange: rgba(60, 220, 145, 0.27);
    --hero-glow: rgba(40, 217, 160, 0.34);
    --hero-light-text: #B3FFE1;
    --hero-grid-line: rgba(130, 240, 190, 0.11);

    /* Hintergrundverlauf */
    --color-page-gradient: linear-gradient(110deg, #091B18 0%, #174336 52%, #45664C 100%);
}

/* =========================================
   E — ARCTIC BLUE
   Light Mode / Clean / Enterprise
   ========================================= */
[data-theme="e"] {
    --color-page: #EDF4FA;
    --color-page-rgb: 237, 244, 250;
    --color-navbar: #FFFFFF;
    --color-orange-strong: #1674C5;
    --color-card: #FFFFFF;
    --color-card-alt: #DFEBF5;
    --color-petrol: #1769A6;
    --color-petrol-dark: #104D80;
    --color-petrol-focus: #238ADB;
    --color-petrol-deep: #102C46;
    --color-petrol-link: #145F9B;
    --color-petrol-link-hover: #0B406D;
    --color-divider-olive: #A9C5D9;

    --color-text: #253C52;
    --color-text-accent: #145F9B;
    --color-surface: #FFFFFF;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-ink: #102C46;
    --color-navbar-text: #102C46;
    --color-loader: #1674C5;
    --color-dark-surface: #173A59;
    --color-video-surface: #10263D;

    --overlay-soft: rgba(20, 60, 100, 0.04);
    --overlay-border: rgba(20, 70, 120, 0.13);
    --overlay-section: rgba(25, 90, 150, 0.05);
    --overlay-modal: rgba(10, 27, 45, 0.92);
    --overlay-amber: rgba(30, 115, 195, 0.13);
    --overlay-focus: rgba(35, 138, 219, 0.25);

    --hero-surface-dark: #102C46;
    --hero-surface-warm: #2879A9;
    --hero-tint-dark: rgba(9, 32, 56, 0.88);
    --hero-tint-petrol: rgba(25, 100, 170, 0.49);
    --hero-tint-orange: rgba(75, 170, 235, 0.28);
    --hero-glow: rgba(70, 170, 245, 0.30);
    --hero-light-text: #E6F6FF;
    --hero-grid-line: rgba(200, 230, 255, 0.16);

    /* Hintergrundverlauf */
    --color-page-gradient: linear-gradient(110deg, #E5F1FA 0%, #F7FAFD 50%, #BBD9ED 100%);
}

/* =========================================
   F — NEON GRAPHITE
   Developer / Gaming / High Contrast
   ========================================= */
[data-theme="f"] {
    --color-page: #141718;
    --color-page-rgb: 20, 23, 24;
    --color-navbar: #1C2122;
    --color-orange-strong: #B7F34A;
    --color-card: #252B2B;
    --color-card-alt: #303938;
    --color-petrol: #58752E;
    --color-petrol-dark: #34491D;
    --color-petrol-focus: #9BD33D;
    --color-petrol-deep: #26351D;
    --color-petrol-link: #C6FF66;
    --color-petrol-link-hover: #E2FFAD;
    --color-divider-olive: #52653C;

    --color-text: #E2E9E3;
    --color-text-accent: #C6FF66;
    --color-surface: #252B2B;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-ink: #F1F6E9;
    --color-navbar-text: #F1F6E9;
    --color-loader: #B7F34A;
    --color-dark-surface: #1C2122;
    --color-video-surface: #0A0D0C;

    --overlay-soft: rgba(255, 255, 255, 0.04);
    --overlay-border: rgba(190, 245, 100, 0.14);
    --overlay-section: rgba(183, 243, 74, 0.05);
    --overlay-modal: rgba(8, 11, 9, 0.95);
    --overlay-amber: rgba(130, 190, 45, 0.20);
    --overlay-focus: rgba(183, 243, 74, 0.30);

    --hero-surface-dark: #141718;
    --hero-surface-warm: #364A21;
    --hero-tint-dark: rgba(10, 14, 12, 0.91);
    --hero-tint-petrol: rgba(65, 95, 35, 0.47);
    --hero-tint-orange: rgba(165, 230, 65, 0.24);
    --hero-glow: rgba(183, 243, 74, 0.31);
    --hero-light-text: #D9FFA0;
    --hero-grid-line: rgba(200, 255, 120, 0.10);

    /* Hintergrundverlauf */
    --color-page-gradient: linear-gradient(110deg, #121718 0%, #29342D 52%, #536843 100%);
}

/* =========================================
   G — SYNTHWAVE
   Creative Tech / Portfolio / Futuristic
   ========================================= */
[data-theme="g"] {
    --color-page: #150C25;
    --color-page-rgb: 21, 12, 37;
    --color-navbar: #201232;
    --color-orange-strong: #FF4EAA;
    --color-card: #29173D;
    --color-card-alt: #38204D;
    --color-petrol: #167E91;
    --color-petrol-dark: #11546B;
    --color-petrol-focus: #24BCD0;
    --color-petrol-deep: #123B54;
    --color-petrol-link: #62EAF5;
    --color-petrol-link-hover: #B0FAFF;
    --color-divider-olive: #65416E;

    --color-text: #F0DFF6;
    --color-text-accent: #70F1F6;
    --color-surface: #29173D;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-ink: #FFE9F8;
    --color-navbar-text: #FFE9F8;
    --color-loader: #FF4EAA;
    --color-dark-surface: #201232;
    --color-video-surface: #0C0718;

    --overlay-soft: rgba(255, 255, 255, 0.04);
    --overlay-border: rgba(255, 110, 210, 0.18);
    --overlay-section: rgba(255, 78, 170, 0.06);
    --overlay-modal: rgba(12, 5, 25, 0.95);
    --overlay-amber: rgba(255, 65, 155, 0.23);
    --overlay-focus: rgba(255, 78, 170, 0.36);

    --hero-surface-dark: #150C25;
    --hero-surface-warm: #642451;
    --hero-tint-dark: rgba(17, 7, 33, 0.88);
    --hero-tint-petrol: rgba(35, 90, 135, 0.52);
    --hero-tint-orange: rgba(235, 50, 160, 0.33);
    --hero-glow: rgba(255, 78, 170, 0.38);
    --hero-light-text: #FFD0EE;
    --hero-grid-line: rgba(255, 165, 225, 0.13);

    /* Hintergrundverlauf */
    --color-page-gradient: linear-gradient(110deg, #150C25 0%, #342044 48%, #70365F 75%, #9B4779 100%);
}

/* =========================================
   H — INDUSTRIAL
   Professional / Hardware / Engineering
   ========================================= */
[data-theme="h"] {
    --color-page: #20252C;
    --color-page-rgb: 32, 37, 44;
    --color-navbar: #292F38;
    --color-orange-strong: #FF8B45;
    --color-card: #343D48;
    --color-card-alt: #404B58;
    --color-petrol: #376D83;
    --color-petrol-dark: #264C5E;
    --color-petrol-focus: #498AA3;
    --color-petrol-deep: #1D3948;
    --color-petrol-link: #8BD8F2;
    --color-petrol-link-hover: #C7F0FF;
    --color-divider-olive: #687582;

    --color-text: #D5DCE5;
    --color-text-accent: #FFBC87;
    --color-surface: #343D48;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-ink: #F1F4F8;
    --color-navbar-text: #F1F4F8;
    --color-loader: #FF8B45;
    --color-dark-surface: #292F38;
    --color-video-surface: #131820;

    --overlay-soft: rgba(255, 255, 255, 0.04);
    --overlay-border: rgba(195, 215, 230, 0.15);
    --overlay-section: rgba(255, 255, 255, 0.05);
    --overlay-modal: rgba(12, 16, 22, 0.95);
    --overlay-amber: rgba(255, 130, 50, 0.19);
    --overlay-focus: rgba(255, 139, 69, 0.30);

    --hero-surface-dark: #20252C;
    --hero-surface-warm: #70432D;
    --hero-tint-dark: rgba(20, 25, 34, 0.90);
    --hero-tint-petrol: rgba(45, 90, 115, 0.46);
    --hero-tint-orange: rgba(220, 105, 40, 0.29);
    --hero-glow: rgba(255, 139, 69, 0.33);
    --hero-light-text: #FFD4AD;
    --hero-grid-line: rgba(225, 235, 245, 0.11);

    /* Hintergrundverlauf */
    --color-page-gradient: linear-gradient(110deg, #20252C 0%, #3A454D 52%, #76513D 100%);
}

[data-theme="i"] {
    --color-page: #102A30;
    --color-page-rgb: 16, 42, 48;
    --color-navbar: #142D34;
    --color-card: #1B3940;
    --color-card-alt: #25434A;
    --color-surface: #1B3940;

    --color-petrol: #286071;
    --color-petrol-dark: #193B44;
    --color-petrol-focus: #3B8392;
    --color-petrol-deep: #102A30;
    --color-petrol-link: #8ED7E1;
    --color-petrol-link-hover: #C5F0F2;

    --color-orange-strong: #E7A05C;
    --color-divider-olive: #53645B;

    --color-text: #D6E2E1;
    --color-text-accent: #72C4D1;
    --color-ink: #F7F3EB;
    --color-navbar-text: #F7F3EB;
    --color-loader: #E7A05C;
    --color-dark-surface: #10252C;
    --color-video-surface: #09191F;

    --overlay-soft: rgba(255,255,255,.04);
    --overlay-border: rgba(200,225,220,.14);
    --overlay-section: rgba(0,0,0,.10);
    --overlay-modal: rgba(5,15,19,.94);
    --overlay-amber: rgba(180,110,55,.22);
    --overlay-focus: rgba(231,160,92,.3);

    --hero-surface-dark: #09191F;
    --hero-surface-warm: #8B5B34;
    --hero-tint-dark: rgba(9,25,31,.9);
    --hero-tint-petrol: rgba(25,65,75,.55);
    --hero-tint-orange: rgba(190,112,55,.35);
    --hero-glow: rgba(231,160,92,.3);
    --hero-light-text: #FFD2A4;
    --hero-grid-line: rgba(255,255,255,.1);

    /* Hintergrundverlauf */
    --color-page-gradient: linear-gradient(110deg, #0B2027 0%, #163943 40%, #4B453B 75%, #8B5B34 100%);
}


html {
    scroll-behavior: smooth;
}

body {
    color: var(--color-text);
}



html[data-theme]::before,
body[data-theme]::before 
{
    content: "";
    background: var(--color-page-gradient);
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}


/* Falls ein Hauptcontainer einen deckenden Hintergrund hat,
   dort stattdessen transparent verwenden, z. B.:
   main { background: transparent; }
   Nur anwenden, wenn main den Seitenverlauf verdeckt. */





[data-theme="b"] .nav a {
    color: var(--color-navbar-text);
}

[data-theme="b"] .nav a:hover {
    color: var(--hero-light-text);
}

section[id] {
    scroll-margin-top: 70px;
}



h1, h2, h3, h4, h5, h6 {
    color: var(--color-text);
}

.row
{
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 0px;
    margin-bottom: 30px;
		
		margin-left: 0px;
		margin-right: 0px;
}

.anti-row
{
	margin-left: 0px;
	margin-right: 0px;
}

@media (min-width: 1400px) {
    .col-xxl-3 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}


@media (min-width: 1921px) {
    .col-xxl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 1200px)
{
	.container,
	.container-lg,
	.container-md,
	.container-sm,
	.container-xl {
			max-width: 1600px;
	}
	

}

@media (min-width: 1200px) {

    .portfolio-layout {
        padding-top: 10px;
    }

    .profile {
        width: 300px;
        flex: 0 0 300px;
        max-width: 300px;

        position: sticky;
        top: 67px;
        align-self: flex-start;
    }

    .main-content {
        min-width: 0;
    }
}

.nav-separator {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    opacity: 0.5;
}

.profile-sticky {
    position: static;
}

.nopadding
{
    padding-top: 0px;
    padding-bottom: 0px;
}

.nomargin
{
    margin-top: 0px;
    margin-bottom: 0px;
}

a
{
    color: var(--color-white);
}

a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.card
{
    background-color: var(--color-card);
    color: var(--color-text);
    height: 100%;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.likerow
{
    padding-bottom: 30px;
    margin-bottom: 30px;

}

.bg-1
{
    background-color: var(--overlay-section);
}

.center {
    margin: auto;
    /* width: 50%; */
}

.projects .row
{

    /* padding-top: 30px;
    padding-bottom: 30px; */
    min-height: 300px;
    border-bottom: solid 5px var(--color-divider-olive);
    background-color: var(--overlay-section);
}

:not(pre) > code 
{
    padding: 2px 14px;
    background-color: cadetblue;
    color: black;
    border-radius: 12px;
}

p  
{
    font-size: 1.2rem;
}

.projects h1
{
    font-size: 2rem;
		margin-bottom: 0px;
}

.myslides-container
{
    position: relative;
    height: 100%;
    width: 100%;
    /* border: solid 5px rgb(252, 8, 8); */
}

.myslides-container.vertical
{
    position: relative;
    height: 100%;
    width: 100%;
}

.image
{
    display: block;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
    min-height: 400px;
    height: 100%;
}

.image img
{
   
    max-width: 100%;
    max-height: 100%;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: scale-down;
}

.image video
{
   
    max-width: 100%;
    max-height: 100%;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.image.horizontal img
{
    display: block;
    margin: auto;

}

pre
{
    background-color: rgba(0, 0, 0, 0.171);
}


.myslides-container .hide
{
    display: none;
}

.myslides-container .btn {
    position: absolute;
    top: 50%;
    color: rgb(190, 190, 190);
    font-size: 16px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
  }

  
.myslides-container .btn-left {
    left: 0%;
    transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
}

.myslides-container .btn-right {
    left: 100%;
    transform: translate(-100%, -50%);
    -ms-transform: translate(-100%, -50%);
}

/* Make sure that padding behaves as expected */
.skillbar {
    box-sizing: border-box;
 
    font-weight: bold;
}
  
/* Container for skill bars */
.skillbar > .skillbar-container {
    margin-bottom: 10px;
}

.skillbar > .skillbar-container > .bar {
    line-height: 15px;
    min-height: 15px;
    width: 100%;

}

.skillbar > .skillbar-container > .bar > .skills {
    line-height: inherit;
    min-height: inherit;
    text-align: center;
    font-size: 13px;
    color: white;
    background-color: var(--color-petrol);
}
  

.gallery {
	min-height: 800px;
}
  

.gallery ul {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
}

.gallery ul:after {
	content: "";
	display: block;
	flex-grow: 10; /* Prevent justify/stretch of last photo */
}

.gallery li {
	height: 18vh;
	flex-grow: 1;
	margin: 0 0.5rem 0.5rem 0;
	list-style: none;
}

.gallery img,
.gallery video {
	max-height: 100%;
	min-width: 100%;
	object-fit: cover;
	vertical-align: bottom;
	border: 2px solid rgba(221, 137, 27, 0.432);
	border-radius: 0.6rem;
	box-shadow: 0.3rem 0.3rem 0.3rem #655;
	display: block;
	cursor: pointer;
}

.gallery video.is-fullscreen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9000;
}

.gallery img:hover,
.gallery video:hover {
	border-color: rgb(20, 0, 204);
	box-shadow: 0.3rem 0.3rem 0.3rem #974;
}

/* Portrait */
@media (max-aspect-ratio: 1 / 1) {
	.gallery li {
			height: 20vh;
	}
}

/* Short screens */
@media (max-height: 480px) {
	.gallery li {
			height: 80vh;
	}
}

/* Smaller screens in portrait */
@media (max-aspect-ratio: 1 / 1) and (max-width: 480px) {
	.gallery ul {
			flex-direction: row;
	}

	.gallery li {
			height: auto;
			width: 100%;
	}

	.gallery img,
	.gallery video {
			width: 100%;
			max-height: 75vh;
			min-width: 0;
	}
}


.fullscreen 
{
    width: 50%;
    height: 50%;
    position:absolute;
    top:0px;
    left:0px;
    margin: 0 auto;
}  

.fullscreen-modal {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: var(--overlay-modal);
    text-align: center;
}

.fullscreen-modal .image-container {
    flex: 1;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.fullscreen-modal img,
.fullscreen-modal video {
    max-width: 98vw;
    max-height: 98vh;
    object-fit: contain;
}

.fullscreen-modal .fullscreen-image,
.fullscreen-modal .fullscreen-video {
    display: none;
    max-width: 98vw;
    max-height: 98vh;
    object-fit: contain;
}

.fullscreen-modal .close-button {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;

    background: rgba(60, 60, 60, 0.85);
    color: white;

    font-size: 28px;
    line-height: 1;

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

    cursor: pointer;
    z-index: 1;
}

.fullscreen-modal .close-button:hover {
    background: rgba(100, 100, 100, 0.95);
}

.page-link
{
    color: black;
    background-color:var(--overlay-amber);
    border: 1px solid var(--color-orange-strong);
}

.page-item.disabled .page-link {
    color: rgb(65, 65, 65);
    pointer-events: none;
    cursor: auto;
    background-color: var(--overlay-amber);
    border: 1px solid var(--color-orange-strong);
}

#loader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: 99999;
    transition: 1s;
}

#loader > .span{
    position: absolute;
    transform: translate(-50%, 50%);
    width: 120px; 
    height: 120px;
    top: 35%;
    border: 5px solid var(--color-loader);
    z-index: 1;
    animation: loaderAnimation 2.5s linear infinite;
}
#loader > .span:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-loader);
    animation: loaderAnimationBg 2.5s linear infinite;
}

@keyframes loaderAnimation {
    0% {
    transform: translate(-50%, 50%) rotate(0deg);
    }
    25% {
    transform: translate(-50%, 50%) rotate(180deg);
    }
    50% {
    transform: translate(-50%, 50%) rotate(180deg);
    }
    75% {
    transform: translate(-50%, 50%) rotate(360deg);
    }
    100% {
    transform: translate(-50%, 50%) rotate(360deg);
    }
}
@keyframes loaderAnimationBg {
    0% {
    height: 0;
    }
    25% {
    height: 0;
    }
    50% {
    height: 100%;
    }
    75% {
    height: 100%;
    }
    100% {
    height: 0;
    }
}

.navbar-nav {
    float: left;
    margin: 0;
    margin-left: 40%;
 }
 
 .navbar-nav.navbar-right:last-child {
    margin-right: -15px;
    margin-left: 0;
 }


.pt-3 {
    padding-top: 1rem!important;
}

.position-sticky {
    position: -webkit-sticky!important;
    position: sticky!important;
}

.flex-column {
    flex-direction: column!important;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    padding-right: 0;
    margin-bottom: 0;
    list-style: none;
    
}
.nav a
{
    color: var(--overlay-modal);
}

.collapse:not(.show) {
    display: none;
}

.headerbar
{
    background-color: var(--color-orange-strong);
    position: fixed;
    top: 0;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset 1px 0 0 rgb(0 0 0 / 10%);
    background-color: rgba(var(--color-page-rgb), 0.9);
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.page-item.button
{
    min-width: 90px;
    text-align: center;
}

.singlepost-overlay {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;
		
    background: rgba(0,0,0,.6);
		 z-index: 9998;
}

.singlepost-window {
    margin: 50px auto;
    background: white;
		max-height: calc(100vh - 40px);
		min-height: 90vh;
    border-bottom: solid 5px var(--color-divider-olive);
    background-color: var(--color-card-alt);
		
    width: min(90%, 90vw);


    overflow-y: auto;

    border-radius: 8px;
    padding: 20px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

#toast {
    position: fixed;
		z-index: 9990;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(20px);

    background: var(--color-dark-surface);
    color: var(--color-white);
    padding: 10px 16px;
    border-radius: 6px;

    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
}

#toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}



/* Skills section 09.10.2026 */
.skill-group-tiny
{
	font-size: 0.8rem;
}

.skill-group-tiny h3
{
	font-size: 1.2rem;
}


.skill-group-tiny .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-group-tiny .skill-tag {
    display: inline-block;
    padding: 3px 8px;
    background-color: var(--color-petrol);
    color: var(--color-white);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.skill-group-tiny .skill-tag-basic {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-ink);
    border: 1px solid rgba(0, 0, 0, 0.2);
}


.skill-group {
    margin-bottom: 30px;
}


.skills-intro {
    margin-bottom: 28px;
    font-size: 1rem;
}

.skill-group {
    margin-bottom: 30px;
}

.skill-group:last-child {
    margin-bottom: 0;
}

.skill-group-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 5px solid var(--color-petrol);
}

.skill-expertise-list {
    background-color: var(--overlay-soft);
    padding: 16px 20px;
    border-radius: 8px;
}

.skill-expertise {
    padding: 12px 0;
    border-bottom: 1px solid var(--overlay-border);
}

.skill-expertise:first-child {
    padding-top: 0;
}

.skill-expertise:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.skill-expertise h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.skill-expertise p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    display: inline-block;
    padding: 9px 15px;
    background-color: var(--color-petrol);
    color: var(--color-white);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.skill-tag-basic {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-ink);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .skill-expertise-list {
        padding: 14px;
    }

    .skill-tag {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .skill-group-title {
        font-size: 1.25rem;
    }
}


/* How I Work  09.10.2026 */

.work-philosophy .principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 25px 0 35px;
}

.work-philosophy .principle {
    background-color: var(--overlay-soft);
    border-top: 4px solid var(--color-petrol);
    border-radius: 5px;
    padding: 18px;
}

.work-philosophy .principle h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.work-philosophy .principle p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.work-philosophy h2 {
    font-size: 2rem;
    margin: 30px 0 15px;
}

.work-philosophy .code-example {
    text-align: center;
    margin: 25px auto;
}

.work-philosophy .code-example img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 5px;
}

.work-philosophy .code-example figcaption {
    font-size: 0.9rem;
    margin-top: 12px;
    opacity: 0.8;
}

@media (max-width: 767px) {
    .work-philosophy .principles {
        grid-template-columns: 1fr;
    }

    .work-philosophy .principle {
        padding: 15px;
    }

    .work-philosophy h2 {
        font-size: 1.6rem;
    }
}


/* Homepage introduction */

.profile-card {
    border: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--color-card);
}

.profile-card .card-img-top {
    width: 100%;
    height: auto;
    display: block;
}

.profile-card .card-body {
    padding: 22px;
}

.profile-card .card-title {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.profile-role {
    font-weight: 700;
    color: var(--color-text-accent);
    margin-bottom: 24px;
}

.profile-facts {
    margin-bottom: 24px;
}

.profile-fact {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid var(--overlay-border);
}

.profile-fact-label {
    font-size: 0.85rem;
    opacity: 0.75;
}

.profile-fact strong {
    font-size: 1rem;
}

.profile-description {
    font-size: 1rem;
    line-height: 1.6;
}

.profile-contact {
    padding-top: 15px;
    border-top: 1px solid var(--overlay-section);
}

.profile-contact #email {
    margin-left: 5px;
}

/* Main introduction */

.intro-content {
    padding: 12px 0;
}

.intro-eyebrow {
    color: var(--color-petrol);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.intro-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.12;
    font-weight: 700;
    margin-bottom: 24px;
}

.intro-content p {
    line-height: 1.7;
}

.intro-content .intro-lead {
    font-size: 1.2rem;
    font-weight: 500;
}

.intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 38px;
}

.intro-btn {
    padding: 10px 20px;
    font-weight: 600;
}

/* Normal */
.btn-primary {
    background-color: var(--color-petrol);
    border-color: var(--color-petrol);
}

/* Maus darüber */
.btn-primary:hover {
    background-color: var(--color-petrol-dark);
    border-color: var(--color-petrol-dark);
}

/* Fokus nach dem Klicken */
.btn-primary:focus {
    background-color: var(--color-petrol-focus);
    border-color: var(--color-petrol-focus);
    box-shadow: none;
    box-shadow: 0 0 0 0.6rem var(--overlay-focus);
}

/* Während der Button gedrückt wird */
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled):active:focus {
    background-color: var(--color-petrol-deep);
    border-color: var(--color-petrol-deep);
    box-shadow: none;
    box-shadow: 0 0 0 0.8rem var(--overlay-focus);
}

/* Project showreel */

.showreel-section {
    margin-top: 30px;
}

.showreel-section h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.showreel-section video {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 20px;
    background-color: var(--color-video-surface);
    border-radius: 6px;
}

/* Responsive adjustments */

@media (max-width: 991.98px) {
    .intro-content {
        padding-top: 15px;
    }
}

@media (max-width: 575.98px) {
    .profile-card .card-body {
        padding: 18px;
    }

    .intro-content h1 {
        font-size: 2.2rem;
    }

    .intro-actions {
        flex-direction: column;
    }

    .intro-actions .btn {
        width: 100%;
    }
}


/* Overall portfolio layout */

.portfolio-layout {
    align-items: flex-start;
}

/* Left profile column */

.portfolio-layout > .profile-sidebar {
    min-width: 0;
}

.profile-sidebar .profile-card {
    width: 100%;
    height: auto;
}

.profile-sidebar .card-img-top {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.profile-sidebar .card-body {
    padding: 14px;
}

.profile-sidebar .card-title {
    font-size: 1.3rem;
}

.profile-sidebar .profile-role {
    font-size: 0.9rem;
    line-height: 1.4;
}

.profile-sidebar .profile-fact strong {
    font-size: 0.9rem;
}

.profile-sidebar .profile-description {
    font-size: 0.9rem;
}

.profile-sidebar .profile-contact {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

/* Right content column */

.portfolio-layout > .main {
    min-width: 0;
}

.portfolio-layout .main > .row {
    margin-left: 0;
    margin-right: 0;
}

.portfolio-layout .main > .row > .col-md-12,
.portfolio-layout .main > .row > .col-12 {
    min-width: 0;
}

/* Sticky profile only on wider screens */


@media (max-width: 767.98px) {

    .profile-sidebar {
        margin-bottom: 20px;
    }

    .portfolio-layout > .main {
        padding-left: 15px;
        padding-right: 15px;
    }

    .profile-sidebar .card-img-top {
        max-height: 320px;
        object-fit: cover;
        object-position: center 30%;
    }
}


/* About Me */

.about-me {
    --about-accent: var(--color-petrol);
    --about-accent-dark: var(--color-petrol-dark);
    --about-surface: var(--overlay-soft);
    --about-border: var(--overlay-border);
}

.about-me h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.about-me p {
    line-height: 1.7;
    margin-bottom: 18px;
}

.about-me .about-lead {
    font-size: 1.25rem;
    line-height: 1.65;
    font-weight: 500;
    max-width: 950px;
}

/* Colored text highlights */

.about-me .about-highlight {
    display: inline;
    background-color: var(--about-accent);
    color: var(--color-white);
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 5px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Specialty cards */

.about-me .about-specialties {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 30px 0 40px;
}

.about-me .about-specialty {
    background-color: var(--about-surface);
    border-top: 4px solid var(--about-accent);
    border-radius: 5px;
    padding: 18px;
}

.about-me .about-specialty h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-me .about-specialty p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Content sections */

.about-me .about-section {
    margin-top: 35px;
}

.about-me .about-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 5px solid var(--about-accent);
}

/* Download achievement */

.about-me .about-achievement {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 24px;
    margin: 25px 0;
    background-color: var(--about-surface);
    border-left: 5px solid var(--about-accent);
    border-radius: 6px;
}

.about-me .about-achievement-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--about-accent);
    white-space: nowrap;
}

.about-me .about-achievement-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.about-me .about-achievement-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Responsive */

@media (max-width: 767px) {
    .about-me .about-specialties {
        grid-template-columns: 1fr;
    }

    .about-me .about-specialty {
        padding: 15px;
    }

    .about-me .about-section h2 {
        font-size: 1.6rem;
    }

    .about-me .about-achievement {
        gap: 16px;
        padding: 18px;
    }

    .about-me .about-achievement-number {
        font-size: 2.3rem;
    }

    .about-me .about-lead {
        font-size: 1.1rem;
    }
}

.article {
    border: 1px solid var(--overlay-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.article:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}


.article .article-card {
    border: 1px solid var(--overlay-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    max-height: 500px;
    max-width: 400px;
    margin: auto;
}

.article-image {
    overflow: hidden;
}

.preview-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform .35s ease;
}

.article-card:hover .preview-image {
    transform: scale(1.04);
}

.article-card .article .card-title {
    font-size: 1.8rem;
    line-height: 1.4;
}

.article-meta {
    font-size: .8rem;
}

.article-teaser {
    font-size: .95rem;
    line-height: 1.5;
}

.article-teaser p:last-child {
    margin-bottom: 0;
}

.article-readmore {
    font-weight: 600;
    color: var(--color-petrol-link);
    text-decoration: none;
}

.article-readmore:hover {
    color: var(--color-petrol-link-hover);
    text-decoration: none;
}

.article-share {
    font-size: .85rem;
}

.article-share:hover {
    opacity: 1;
}


.preview-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: center;
}

.site-navbar {
    background-color: var(--color-navbar);
    border-bottom: 1px solid var(--overlay-border);
}

.site-navbar .navbar-brand,
.site-navbar .navbar-nav .nav-link {
    color: var(--color-navbar-text);
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link:focus {
    color: var(--color-navbar-text);
}
/* Video hero: independent of Bootstrap .row and existing .image video rules */
.video-hero {
    --hero-orange: var(--color-navbar);
    --hero-petrol: var(--color-petrol);
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 300px;
    height: clamp(300px, 52vw, 900px);
    margin-bottom: 12px;
    background: linear-gradient(120deg, var(--hero-surface-dark) 0%, var(--hero-petrol) 65%, var(--hero-surface-warm) 100%);
    color: var(--color-white);
}

.video-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -4;
    opacity: .72;
    pointer-events: none;
}

.video-hero__tint,
.video-hero__grid,
.video-hero__glow,
.video-hero__edge {
    position: absolute;
    pointer-events: none;
}

.video-hero__tint {
    inset: 0;
    z-index: -3;
    background: linear-gradient(100deg, var(--hero-tint-dark), var(--hero-tint-petrol) 60%, var(--hero-tint-orange));
}

.video-hero__grid {
    inset: 0;
    z-index: -2;
    opacity: .28;
    background-image: linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
                      linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(to right, transparent, var(--color-black) 75%);
    mask-image: linear-gradient(to right, transparent, var(--color-black) 75%);
}

.video-hero__glow {
    z-index: -1;
    top: -160px;
    right: -120px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hero-glow), transparent 65%);
    animation: video-hero-breathe 8s ease-in-out infinite alternate;
}

.video-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 42px 28px;
    text-align: center;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
}

.video-hero__eyebrow {
    color: var(--hero-light-text);
    font-size: .78rem;
    letter-spacing: .32em;
    font-weight: 700;
    margin-bottom: 16px;
}

.video-hero__title {
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 18px;
}

.video-hero__subtitle {
    font-size: clamp(1rem, 1.65vw, 1.25rem);
    margin: 0;
    opacity: .92;
}

.video-hero__edge {
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hero-petrol), var(--hero-orange), var(--hero-petrol));
}

@keyframes video-hero-breathe {
    from { transform: translate(-25px, 10px) scale(.9); opacity: .65; }
    to { transform: translate(20px, -10px) scale(1.1); opacity: 1; }
}

@media (max-width: 575.98px) {
    .video-hero { height: 260px; min-height: 260px; }
    .video-hero__content { padding: 26px 20px; }
    .video-hero__eyebrow { font-size: .62rem; letter-spacing: .18em; }
    .video-hero__glow { width: 350px; height: 350px; }
}

@media (prefers-reduced-motion: reduce) {
    .video-hero__glow { animation: none; }
    .video-hero__media { display: none; }
}
