@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('OpenSans-Regular'),
  url('../fonts/open-sans-regular.woff2') format('woff2');
}

:root {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --accent-color: #4a6fa5;
    --secondary-color: #353434;
    --light-bg: #2a2a2a;
    --header-bg: #2a2a2a;
    --header-color: #f0f0f0;
    --card-bg: #1e1e1e;
    --link-color: #4fb0ff;
    --nav-link-color: #f4a261;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: light) {
    :root {
        --bg-color: #f8f9fa;
        --text-color: #212529;
        --accent-color: #4a6fa5;
        --secondary-color: #1e3a8a;
        --light-bg: #e9ecef;
        --header-bg: #2a2a2a;
        --header-color: #f0f0f0;
        --card-bg: #ffffff;
        --link-color: #1e76be;
        --nav-link-color: #f4a261;
        --shadow-color: rgba(0, 0, 0, 0.1);
    }
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Open Sans', Verdana, sans-serif;
    line-height: 1.6;
    font-size: 1.2rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--header-color);
}

.logo a {
    text-decoration: none;
    color: var(--header-color);
    font-weight: 500;
    transition: color 0.3s;
}

.logo a:hover {
    color: var(--nav-link-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--header-color);
    margin: 5px 0;
    transition: 0.4s;
}

.hamburger.toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.toggle span:nth-child(2) {
    opacity: 0;
}
.hamburger.toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--header-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--nav-link-color);
}

.home {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../../images/hintergrund.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--header-color);
    padding: 0 1rem;
}

.home-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.home-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    color: var(--nav-link-color);
    text-decoration: none;
}

section a {
    text-decoration: none;
    color: var(--link-color);
}

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

.stdcol {
    min-height: 93vh;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
}

.stdcol h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: left;
    overflow-wrap: break-word;
}

.stdcol h2, h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: left;
    overflow-wrap: break-word;
}

.stdcol p {
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: 0;
    margin-right: 0;
}

.bgcol {
    background-color: var(--light-bg);
    line-height: 1.8;
}

.bgcol-content {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.bgcol-content h1 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    overflow-wrap: break-word;
}

.bgcol-content h2, h3 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    overflow-wrap: break-word;
}

.bgcol-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.bgcol-content p {
    margin-bottom: 1.5rem;
}

.bgcol-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.rooms {
    padding: 5rem 2rem;
     background-color: var(--light-bg);
}

.rooms h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.room-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s;
}

.room-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.room-card h3 {
    padding: 1rem 1rem 0;
    font-size: 1.5rem;
}

.room-card p {
    padding: 0 1rem 1rem;
}

.rpad {
	padding-right: 1.875em;
}

footer {
    background-color: #222;
    color: #eee;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 200px;
    margin: 10px;
    min-width: 200px;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #f4a261;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #eee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #f4a261;
}

.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
}

.scroll-top-btn.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--secondary-color);
}

.farrow{
    font-style:normal;
    font-weight: 900;
}

@media (max-width: 768px) {
.hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background: var(--header-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem;
        transition: 0.5s;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .home-content p {
        font-size: 1rem;
    }

    .footer-container {
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
    }

    .footer-column {
      margin: 20px 0;
    }
}
