﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', Verdana, sans-serif;
    padding-top: 60px;
    padding-bottom: 50px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffcc00ff;
    color: #000080;
}

.background-svg {
    position: fixed;
    top: 0;
    left: -30px;
    width: 100%;
    height: 100vh;
    background-image: url('/svg/background.svg');
    background-repeat: no-repeat;
    background-size: contain;
    filter: drop-shadow(4px 4px 20px #333) drop-shadow(-4px -4px 20px #ffea80);
    z-index: -1;
}

nav {
    position: fixed;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1170px;
    height: 60px;
    background: white;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 14px 14px 20px #c5a605, -14px -14px 20px #ffea80;
    border-radius: 14px;
    border: 2px solid #ffda22;
}

nav .container {
    max-width: 1170px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: none;
}

nav .logo {
    font-size: 24px;
    font-weight: bold;
    padding: 5px 0;
}

nav .logo img {
    height: 50px;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #000080;
    text-decoration: none;
}

nav .has-submenu {
    position: relative;
}

nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 10px 0;
    min-width: 180px;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav .has-submenu:hover .submenu,
nav .has-submenu.active .submenu {
    display: block;
}

nav .submenu li a {
    display: block;
    padding: 8px 15px;
    color: #000080;
}

nav .submenu li a:hover {
    background: #ffda22;
}

section {
    background: white;
    max-width: 1170px;
    width: 100%;
    margin: 25px auto 25px auto;
    border-radius: 14px;
    box-shadow: 14px 14px 20px #c5a605, -14px -14px 20px #ffea80;
    border: 2px solid #ffda22;
}

.hero {
    margin-top: 25px;
    background-image: url('/svg/water.svg');
    background-repeat: no-repeat;
    background-size: 55% auto;
    background-position: right center;
    height: calc(100vh - 170px);
    display: flex;
    align-items: center;
}

.hero-container {
    width: 100%;
    padding-left: 25px;
    padding-right: 25px;
    text-align: left;
}

.hero-container h1,
.hero-container h2,
.hero-container ul {
    margin-bottom: 40px;
}

.hero-container ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.hero-container ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}
}

.hero-container ul li::before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: #ffda22;
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-left: 100px;
}

.services .container {
    max-width: 1170px;
    margin: 0 auto;
    width: 100%;
    background: transparent;
    padding: 20px;
    border-radius: 14px;
}

.services .container h1,
.services .container h2 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.services .container h1:first-child {
    margin-top: 20px;
}

.services .container h1 .brand {
    text-transform: uppercase;
}

.services .container h1 .thin {
    font-weight: 300;
}

.services .container h1 .bold {
    font-weight: bold;
}

.services .container p.justify {
    text-align: justify;
    margin-bottom: 20px;
}

.wohnungen {
    margin-top: 25px;
}

.wohnungen .detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px;
}

.ausstattung .detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px;
}

.wohnungen .grid-item {
    flex: 1;
    text-align: center;
    padding: 30px;
    background: #ffcc00ff;
    border-radius: 14px;
    box-shadow: 8px 8px 15px #999999, -8px -8px 15px #cccccc;
}

.wohnungen .grid-item h3 {
    color: #000080;
    margin-bottom: 5px;
    font-size: 1.2em;
}

.detail-page .overview-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 40px;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 8px 8px 15px #999999, -8px -8px 15px #cccccc;
}

.detail-page .overview-table th,
.detail-page .overview-table td {
    border: 1px solid #000080;
    padding: 12px 15px;
    text-align: center;
}

.detail-page .overview-table th:first-child {
    border-top-left-radius: 12px;
}

.detail-page .overview-table th:last-child {
    border-top-right-radius: 12px;
}

.detail-page .overview-table tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.detail-page .overview-table tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.detail-page .overview-table th {
    background: #000080;
    color: white;
    font-weight: bold;
}

.detail-page .overview-table td {
    background: white;
}

.detail-page .table-note {
    text-align: center;
    font-style: italic;
    margin-bottom: 30px;
    color: #000080;
}

.detail-page .detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.detail-page .grid-item {
    padding: 20px;
    background: white;
    border-radius: 14px;
    box-shadow: 8px 8px 15px #999999, -8px -8px 15px #cccccc;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
}

.detail-page .grid-item > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.detail-page .grid-item .video-container {
    width: 100%;
    max-width: none;
}

@media (max-width: 900px) {
    .detail-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .detail-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Alte Spalten-Regeln fÃ¼r andere Seiten */
.detail-page .detail-columns {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}

.detail-page .detail-column {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 14px;
    box-shadow: 8px 8px 15px #999999, -8px -8px 15px #cccccc;
    display: flex;
    flex-direction: column;
}

.detail-page .detail-column.left,
.detail-page .detail-column.middle,
.detail-page .detail-column.right {
    flex: 1 1 100%;
    width: auto;
}

.detail-page .detail-column.right .video-container {
    width: 100%;
    max-width: none;
}

.detail-page .video-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    position: relative;
    padding-bottom: 100%;
    height: 0;
}

.detail-page .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-page .detail-column {
    flex: 1;
    width: 0;
    padding: 20px;
    background: white;
    border-radius: 14px;
    box-shadow: 8px 8px 15px #999999, -8px -8px 15px #cccccc;
    display: flex;
    flex-direction: column;
}

.detail-page .detail-column.left,
.detail-page .detail-column.middle,
.detail-page .detail-column.right {
    flex: 1 1 100%;
    width: auto;
}

.detail-page .detail-column.right .video-container {
    width: 100%;
    max-width: none;
}

.detail-page .detail-column.right .video-container {
    width: 100%;
    max-width: none;
}

.detail-page .detail-columns.video-row {
    margin-top: 0;
}

.detail-page .video-column {
    flex: 1;
}

.detail-page .video-column .video-container {
    max-width: 100%;
}

.detail-page .detail-column img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.detail-page .grid-item img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
}

.detail-page .room-details {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.detail-page .room-details td {
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.detail-page .room-details td:first-child {
    width: 40px;
    text-align: center;
}

.detail-page .room-details td:nth-child(2) {
    text-align: left;
    font-weight: bold;
}

.detail-page .room-details td:last-child {
    text-align: right;
}

.detail-page .room-details .circled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid #000080;
    border-radius: 50%;
    font-size: 0.85em;
    font-weight: bold;
    color: #000080;
}

.detail-page .room-details tr.total td {
    border-top: 2px solid #000080;
    font-weight: bold;
    padding-top: 12px;
}

.detail-page .video-note {
    font-size: 0.85em;
    color: #000080;
    text-align: justify;
    margin-top: 15px;
    line-height: 1.4;
}

.detail-page .video-label {
    font-size: 1em;
    color: #000080;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

.detail-page .building-info {
    text-align: center;
    padding: 20px 0;
}

.detail-page .building-info h3 {
    color: #000080;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.detail-page .building-info p {
    color: #000080;
    font-size: 1em;
}

.detail-page .footnotes {
    font-size: 0.85em;
    color: #000080;
    line-height: 1.6;
    margin-top: 15px;
}

.detail-page .video-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    position: relative;
    padding-bottom: 100%;
    height: 0;
}

.detail-page .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-page .detail-actions {
    text-align: center;
    margin-top: 30px;
}

.detail-page .detail-actions .button {
    display: inline-block;
    padding: 15px 30px;
    background: white;
    color: #000080;
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    font-size: 1.1em;
    border: 2px solid #000080;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 10px #999999, -4px -4px 10px #cccccc;
}

.detail-page .detail-actions .button:hover {
    background: #000080;
    color: white;
}

/* Stile fÃ¼r Detailseiten */
.detail-page {
    margin-top: 25px;
    background: white;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 14px 14px 20px #c5a605, -14px -14px 20px #ffea80;
    border: 2px solid #ffda22;
}

.detail-page .container {
    max-width: 1170px;
    margin: 0 auto;
    width: 100%;
    background: transparent;
    padding: 0;
}

.detail-page h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #000080;
}

.detail-page .detail-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.detail-page .detail-content img {
    flex: 1;
    max-width: 50%;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
}

.detail-page .detail-info {
    flex: 1;
    max-width: 50%;
}

.detail-page .detail-info h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #000080;
}

.detail-page .detail-info table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.detail-page .detail-info table td {
    border: 1px solid #000080;
    padding: 10px;
    text-align: left;
}

.detail-page .detail-info table td:first-child {
    font-weight: bold;
    width: 40%;
}

.detail-page .detail-info p {
    margin-bottom: 15px;
    text-align: justify;
}

.detail-page .detail-info .button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: transparent;
    color: #000080;
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    border: 1px solid #000080;
    font-size: 1.1em;
    box-shadow: 4px 4px 10px #999999, -4px -4px 10px #cccccc;
}

.detail-page .detail-info .button:hover {
    background: #000080;
    color: white;
}

.wohnungen .grid-item img {
    max-width: 100%;
    height: auto;
    width: 100%;
    object-fit: contain;
}

.wohnungen .grid-item p {
    text-align: center;
    margin-top: 10px;
    font-size: 1.2em;
    color: #000080;
}

.wohnungen .grid-item table {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.wohnungen .grid-item table td {
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
    color: #000080;
}

.wohnungen .grid-item table td:first-child {
    text-align: left;
    color: #000080;
}

.wohnungen .grid-item table td:last-child {
    text-align: right;
    font-weight: bold;
}

.wohnungen .grid-item table td.bold {
    text-align: right;
    color: #000080;
}

.wohnungen .grid-item .button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: #000080;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 10px #999999, -4px -4px 10px #cccccc;
}

.wohnungen .grid-item .button:hover {
    background: #ffcc00ff;
    color: #000080;
}

.wohnungen .column table td:last-child {
    text-align: right;
}

.wohnungen .column table td.bold {
    font-weight: bold;
}

.wohnungen .column .button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: white;
    color: #000080;
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    border: 1px solid #000080;
    box-shadow: 4px 4px 10px #c5a605, -4px -4px 10px #ffea80;
}

.wohnungen .column .button:hover {
    background: #000080;
    color: white;
}

.ausstattung {
    margin-top: 25px;
}

.ausstattung .container h1 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.ausstattung .columns {
    display: flex;
    gap: 0px;
    justify-content: space-between;
}

.ausstattung .columns {
    display: flex;
    gap: 0px;
    justify-content: space-between;
}

.ausstattung .column {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: #ffcc00ff;
    border-radius: 14px;
    margin: 25px;
    box-shadow: 8px 8px 15px #999999, -8px -8px 15px #cccccc;
}

.ausstattung .column h3 {
    margin-bottom: 10px;
}

.ausstattung .grid-item {
    text-align: center;
    padding: 20px;
    background: #ffcc00ff;
    border-radius: 14px;
    box-shadow: 8px 8px 15px #999999, -8px -8px 15px #cccccc;
}

.ausstattung .grid-item h3 {
    margin-bottom: 10px;
    color: #000080;
}

.interessiert {
    margin-top: 25px;
}

.interessiert .container {
    text-align: center;
    padding: 40px 20px;
}

.interessiert .container h1 {
    margin-bottom: 20px;
}

.interessiert .container p {
    margin-bottom: 30px;
    font-size: 1.2em;
}

.interessiert .container .button {
    display: inline-block;
    padding: 15px 30px;
    background: white;
    color: #000080;
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    font-size: 1.1em;
    border: 1px solid #000080;
    box-shadow: 4px 4px 10px #999999, -4px -4px 10px #cccccc;
}

.interessiert .container .button:hover {
    background: #000080;
    color: white;
}

.impressum {
    margin-top: 25px;
    background-image: url('/svg/water.svg');
    background-repeat: no-repeat;
    background-size: 55% auto;
    background-position: right top;
}

.impressum .container {
    padding: 40px;
}

.impressum .container h1 {
    margin-bottom: 30px;
    text-align: center;
}

.impressum .container h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.impressum .container p.justify {
    text-align: justify;
    margin-bottom: 15px;
}

.kontakt {
    margin-top: 25px;
    background-image: url('/svg/water.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
}

.kontakt .container {
    text-align: center;
    padding: 40px 20px;
}

.kontakt .container h1 {
    margin-bottom: 20px;
}

.kontakt .container h2 {
    font-weight: normal;
    font-family: Arial, sans-serif;
    margin-bottom: 30px;
}

.kontakt .columns {
    display: flex;
    gap: 20px;
}

.kontakt .column {
    flex: 1;
    padding: 20px;
    background: transparent;
    border-radius: 14px;
    text-align: left;
}

.kontakt .column h3 {
    margin-bottom: 25px;
}

.kontakt .column p {
    margin-bottom: 25px;
}

.kontakt .column .button {
    display: block;
    margin: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #000080;
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    width: 100%;
    text-align: left;
    border: 1px solid #000080;
    box-shadow: 4px 4px 10px #999999, -4px -4px 10px #cccccc;
}

.kontakt .column .button:hover {
    background: #000080;
    color: white;
}

.datenschutz {
    margin-top: 25px;
    background-image: url('/svg/water.svg');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 55% auto;
}

.datenschutz .container {
    padding: 40px;
}

.datenschutz .container h1 {
    margin-bottom: 30px;
    text-align: center;
}

.datenschutz .container h2,
.datenschutz .container h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.datenschutz .container h4 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: bold;
}

.datenschutz .container p.justify {
    text-align: justify;
    margin-bottom: 15px;
}

.datenschutz .container .dsgvo-list {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #000080;
}

.datenschutz .container .dsgvo-list li {
    margin-bottom: 5px;
}

strong {
    font-weight: bold;
}

footer {
    position: fixed;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1170px;
    height: 60px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 14px 14px 20px #c5a605, -14px -14px 20px #ffea80;
    border-radius: 14px;
    border: 2px solid #ffda22;
}

footer .container {
    max-width: 1170px;
    width: 100%;
    text-align: center;
    box-shadow: none;
}

footer .container .brand {
    text-transform: uppercase;
}

footer .container .bold {
    font-weight: bold;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    nav .has-submenu .submenu {
        display: none;
        position: static;
        box-shadow: none;
        padding-left: 20px;
        background: transparent;
    }

    nav .has-submenu.active .submenu {
        display: block;
    }

    nav .container {
        position: relative;
    }

    .detail-page .detail-columns {
        flex-direction: column;
    }

    .detail-page .overview-table {
        font-size: 0.8em;
    }

    .detail-page .overview-table th,
    .detail-page .overview-table td {
        padding: 8px 5px;
    }

    .wohnungen .detail-grid {
        grid-template-columns: 1fr;
    }

    .ausstattung .detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ausstattung .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    footer .container .rechte {
        display: none;
    }
}

.anfrage-page {
    margin-top: 25px;
    background: white;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 14px 14px 20px #c5a605, -14px -14px 20px #ffea80;
    border: 2px solid #ffda22;
}

.anfrage-page .container {
    max-width: 800px;
    margin: 0 auto;
}

.anfrage-page h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #000080;
}

.anfrage-page .intro {
    text-align: center;
    margin-bottom: 40px;
    color: #000080;
    font-size: 1.1em;
}

.anfrage-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.anfrage-form .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.anfrage-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #000080;
}

.anfrage-form input[type="text"],
.anfrage-form input[type="email"],
.anfrage-form input[type="tel"],
.anfrage-form select,
.anfrage-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #000080;
    border-radius: 14px;
    font-family: 'Jost', Verdana, sans-serif;
    font-size: 1em;
    background: white;
    color: #000080;
    box-sizing: border-box;
}

.anfrage-form input:focus,
.anfrage-form select:focus,
.anfrage-form textarea:focus {
    outline: none;
    border-color: #000080;
    box-shadow: 0 0 5px rgba(0, 0, 128, 0.3);
}

.anfrage-form textarea {
    resize: vertical;
}

.anfrage-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.anfrage-form .checkbox-group input[type="checkbox"] {
    margin-top: 5px;
    width: 20px;
    height: 20px;
}

.anfrage-form .checkbox-group label {
    font-weight: normal;
    font-size: 0.9em;
}

.anfrage-form .checkbox-group a {
    color: #000080;
    text-decoration: underline;
}

.anfrage-form .form-actions {
    text-align: center;
    margin-top: 30px;
}

.anfrage-form .form-actions .button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #000080;
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    font-size: 1.1em;
    border: 2px solid #000080;
    cursor: pointer;
    box-shadow: 4px 4px 10px #999999, -4px -4px 10px #cccccc;
    transition: all 0.3s ease;
}

.anfrage-form .form-actions .button:hover {
    background: #000080;
    color: white;
}

