html {
    scroll-behavior: smooth;
}

body {
            font-family: 'Fira Sans';
            margin: 0;
            padding: 0;
            line-height: 1.6;
            background-color: #f4f4f9;
            color: #333;
        }

        header {
            background-color: #0057b7;
            background-image: linear-gradient(315deg, #0065d5 0%, #002753 74%);
            color: #fff;
            padding: 2rem 1rem;
            text-align: center;
        }

        header h1 {
            margin: 0;
            font-size: 2.5rem;
        }

        header p {
            font-size: 1.1rem;
            margin-top: 0.5rem;
        }

        nav {
            display: flex;
            justify-content: center;
            gap: 2rem;
            background-color: #ffe28b;
            padding: 0.5rem 0;
        }

        nav a {
            color: #0057b7;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s;
        }

        nav a:hover {
            color: #000;
        }

        main {
            max-width: 900px;
            margin: 2rem auto;
            padding: 0 1rem;
        }

        main a {
            color: #0057b7;
            text-decoration: none;
            transition: color 0.3s;
        }

        /*main section:nth-child(even) {
            background-color: #fffbee;
            padding: 2px;
        }
        */
        section {
            margin-bottom: 3rem;
        }

        section h2 {
            color: #0057b7;
            border-bottom: 2px solid #0057b7;
            padding-bottom: 0.5rem;
        }

        .profilbild {
            float: left;
            margin-right: 1rem;
            width: 120px;
            border-radius: 50%;
            /*filter: grayscale(100%);
            -webkit-filter: grayscale(100%);
            transition: filter 300ms ease, -webkit-filter 300ms ease;*/
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .profilbild:hover {
            transform: scale(1.12);
            box-shadow: 0 8px 12px rgba(0,0,0,0.15);
        }

        .projektbild {
            float: right;
            margin-left: 1rem;
            width: 350px;
            border-radius: 0%;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .projektbild:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 12px rgba(0,0,0,0.15);
        }

        .center {
            text-align:center;
        }
        .centerpic {
            float: none;
            width: 700px;    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .centerpic:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 12px rgba(0,0,0,0.15);
        }

        figure { margin: 1em 0; }
            .align-center { display: block; margin-left: auto; margin-right: auto; }
            .back-button {
            display: inline-block;
            padding: 10px 18px;
            margin: 15px 0;
            background-color: #005bbb;
            color: #fff;
            text-decoration: none;
            border-radius: 8px;
            font-weight: bold;
            transition: background-color 0.3s, transform 0.2s;
            box-shadow: 0 3px 6px rgba(0,0,0,0.15);
        }

        ul {
            list-style-type: disc;
            margin-left: 1.5rem;
        }

        footer {
            background-color: #002753;
            color: #fff;
            text-align: center;
            padding: 1.5rem 1rem;
        }

        footer a {
            color: #0057b7;
            text-decoration: none;
            transition: color 0.3s;
        }

        .button {
            display: inline-block;
            background-color: #0057b7;
            color: #fff;
            padding: 0.7rem 1.2rem;
            margin-top: 1rem;
            border-radius: 5px;
            text-decoration: none;
            transition: background-color 0.3s;
        }

        .button:hover {
            background-color: #003774;
        }

        figure {
            margin: 1em 0;
        }
        
        .align-right {
            float: right;
            margin-left: 1em;
            margin-bottom: 1em;
        }
        
        .align-center {
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
        
        hr {
            margin: 2em 0;
            border: none;
            border-top: 1px solid #ccc;
        }

        .back-button {
            display: inline-block;
            padding: 10px 18px;
            margin: 15px 0;
            background-color: #005bbb; /* ukrainisch-blau */
            color: #fff;
            text-decoration: none;
            border-radius: 8px;
            font-weight: bold;
            transition: background-color 0.3s, transform 0.2s;
            box-shadow: 0 3px 6px rgba(0,0,0,0.15);
        }

        .back-button:hover {
            background-color: #004499;
            transform: translateY(-2px);
        }

        .back-button:active {
            transform: translateY(0);
        }

        @media (max-width: 600px) {
            header h1 { font-size: 1.5rem; }
            nav { display:none; }
            .profilbild { float: none; display: block; margin: 0 auto 1rem auto; }
            .projektbild { float: none; display: block; margin: 0 auto 1rem auto; }
            .centerpic { width:350px; }

        }

        #scrollTopBtn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 100; /* immer sichtbar */
            background-color: #333;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.3s;
        }

        #scrollTopBtn:hover {
            opacity: 1;
        }
