/* CSS Reset und Grundstyling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #121212;
    --secondary: #1e1e1e;
    --accent: #d4af37;
    --text: #e0e0e0;
    --text-light: #a0a0a0;
    --border: #333;
}

body {
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
}

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

a:hover {
    color: #f0d070;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--primary);
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #f0d070;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    color: var(--text);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

p {
    margin-bottom: 15px;
}

/* Header und Navigation */
header {
    background-color: var(--secondary);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}

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

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
  /* encode the space as %20 (recommended), parentheses left as-is are okay but encoding is safer) */
  background-image:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url("../img2/doko.jpeg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Über uns Section */
.about {
    background-color: var(--secondary);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Dienstleistungen Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

.price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Preisliste Styles */
.pricelist-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricelist-header {
    display: flex;
    justify-content: space-between;
    padding: 25px 30px;
    background-color: var(--accent);
    color: var(--primary);
}

.pricelist-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.pricelist-items {
    padding: 0;
}

.pricelist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s;
}

.pricelist-item:last-child {
    border-bottom: none;
}

.pricelist-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.pricelist-item.highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #b8941f 100%);
    color: var(--primary);
    font-weight: 700;
}

.service-name {
    font-size: 1.1rem;
    font-weight: 500;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.pricelist-item.highlight .service-price {
    color: var(--primary);
}

/* Responsive Design für Preisliste */
@media (max-width: 768px) {
    .pricelist-header {
        padding: 20px;
    }
    
    .pricelist-header h3 {
        font-size: 1.1rem;
    }
    
    .pricelist-item {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .service-name {
        font-size: 1rem;
    }
    
    .service-price {
        font-size: 1.2rem;
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .pricelist-container {
        border-radius: 8px;
    }
    
    .pricelist-header {
        padding: 15px;
    }
    
    .pricelist-item {
        padding: 12px 15px;
    }
}

/* Galerie Section */
.gallery {
    background-color: var(--secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background-color: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    color: var(--accent);
    margin-bottom: 5px;
}

.member-role {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 15px;
}

/* Kontakt Section */
.contact-columns {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.contact-column {
    flex: 1;
}

.opening-hours {
    margin-top: 0;
}

.opening-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.day {
    font-weight: 450;
}

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

.time.closed {
    color: #ff6b6b;
}

/* Responsive Design für Kontakt-Section */
@media (max-width: 768px) {
    .contact-columns {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-column {
        width: 100%;
    }
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-light);
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Cookie-Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Impressum und Datenschutz */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--secondary);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.legal-content h2 {
    text-align: left;
}

.legal-content h2:after {
    left: 0;
    transform: none;
}

.legal-content h3 {
    margin-top: 30px;
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content, .contact-container {
        flex-direction: column;
    }
    
    .about-image, .contact-info, .contact-form {
        width: 100%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}