@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&display=swap');

/* =====================
   GRUNDLAGEN
===================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f3f1f2;
    color: #000;
    line-height: 1.6;
}

/* =====================
   HEADER
===================== */
header {
    background-color: #f0e6ed;
    padding: 25px 30px;
    position: relative;
    text-align: center;
}

/* Titel wirklich mittig */
header h1 {
    margin: 0;
    font-size: 32px;
    color: #000;
}

/* Logo rechts */
header img.logo {
    position: absolute;
    top: 20px;
    right: 30px;
    height: 120px;
    width: auto;
}

/* Slogan */
.header-slogan {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-style: italic;   /* <-- DAS hat gefehlt */
    color: #000;
    margin-top: -4px;
    margin-bottom: 20px;
}


/* Navigation */
nav {
    margin-top: 10px;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0 6px;
    border-radius: 25px;
    border: 2px solid #FF00FF;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #FF00FF;
}

/* =====================
   INFO BEREICH (Öffnungszeiten / Anschrift / 24/7)
===================== */
.info-container {
    display: flex;
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.info-card {
    flex: 1;
    background-color: #f8f6f7;
    border-radius: 18px;
    padding: 25px 30px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.alert-card {
    background-color: #FF00FF;
    color: #fff;
    font-weight: bold;
}

.alert-card a {
    color: #fff;
    text-decoration: underline;
}

/* =====================
   SECTIONS
===================== */
section {
    max-width: 1100px;
    margin: 35px auto;
    padding: 40px;
    background-color: #f8f6f7;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 28px;
    text-align: center;
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 60px;
    height: 3px;
    background-color: #FF00FF;
}

/* =====================
   LEISTUNGEN
===================== */
#services {
    text-align: center;
}

.services-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}

.services-list li {
    background-color: #eee7ec;
    margin: 18px 0;
    padding: 20px 25px;
    border-radius: 14px;
    border-left: 4px solid #FF00FF;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.services-list li:hover {
    transform: translateY(-4px);
}

.services-list a {
    text-decoration: none;
    color: #000;
    display: block;
}

.button-link {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 28px;
    background-color: #FF00FF;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
}

/* =====================
   FORMULAR
===================== */
form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #eee7ec;
    padding: 25px;
    border-radius: 14px;
}

label {
    display: block;
    margin-top: 12px;
    font-weight: bold;
}

input,
textarea {
    width: 100%;
    margin-top: 6px;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #aaa;
}

button {
    display: block;
    margin: 0 auto;
    background-color: #FF00FF;
    color: #000;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
}

.response-time {
    text-align: center;
    font-style: italic;
    color: #555;
    margin-top: 15px;
}

/* =====================
   FOOTER
===================== */
footer {
    text-align: center;
    padding: 25px;
    background-color: #f0e6ed;
    margin-top: 50px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
    .info-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header img.logo {
        position: static;
        display: block;
        margin: 15px auto 0 auto;
        height: 90px;
    }

    header h1 {
        font-size: 26px;
    }

    .header-slogan {
        font-size: 20px;
    }

    section {
        margin: 20px;
        padding: 25px;
    }
}
/* =====================
   ÜBER UNS – TEAM
===================== */
#team .team-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    flex-wrap: wrap;
}

/* Team-Karte */
.team-card {
    background-color: #f8f6f7;
    border-radius: 18px;
    padding: 25px 20px;
    width: 260px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* OVALES BILD */
.team-card img {
    width: 140px;
    height: 180px;
    object-fit: cover;
    border-radius: 50% / 40%; /* OVAL */
    margin-bottom: 15px;
}

/* Name */
.team-card h3 {
    margin: 10px 0 6px 0;
    font-size: 20px;
    color: #000;
}

/* Rolle */
.team-role {
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #FF00FF;
    margin-bottom: 10px;
}

/* Beschreibung */
.team-card p {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    #team .team-container {
        flex-direction: column;
        align-items: center;
    }

    .team-card {
        width: 85%;
    }
}
/* LOGO – fixe Größe */
header img.logo {
    position: absolute;   /* Desktop: rechts oben */
    top: 20px;
    right: 30px;
    width: auto;
    height: 100px;        /* feste Höhe */
    max-width: 180px;     /* verhindert zu riesige Darstellung */
}

/* RESPONSIVE – Handy / Tablet */
@media (max-width: 768px) {
    header img.logo {
        position: static;   /* unter Titel */
        display: block;
        margin: 15px auto 0 auto;
        height: 80px;       /* kleiner auf Handy */
        max-width: 150px;
    }
}
/* BACK BUTTON für Leistungsseiten */
.back-button {
    display: inline-block;
    margin: 30px auto 0 auto;
    padding: 12px 28px;
    background-color: #FF00FF;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #e600e6;
    color: #000;
}

/* HEADER LOGO FIXIEREN */
header img.logo {
    position: absolute;   /* Desktop: rechts oben */
    top: 20px;
    right: 30px;
    width: auto;
    height: 100px;        /* feste Höhe */
    max-width: 180px;     
}

.header-slogan {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-style: italic;
    color: #000;
    margin-top: -4px;     
    margin-bottom: 20px; 
}

/* Responsive Logo */
@media (max-width: 768px) {
    header img.logo {
        position: static;
        display: block;
        margin: 15px auto 0 auto;
        height: 80px;
        max-width: 150px;
    }
}
.back-button {
    display: block;           /* block statt inline-block */
    width: fit-content;       /* nur so breit wie der Text */
    margin: 30px auto 0 auto; /* oben Abstand + automatisch zentriert */
    padding: 14px 32px;
    background-color: #FF00FF;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #e600e6;
    color: #000;
}
/* HEADER + LOGO */
header {
    background-color: #f0e6ed;
    padding: 20px 30px;
    position: relative;
    text-align: center;
}

/* Titel mittig */
header h1 {
    margin: 0;
    font-size: 32px;
    color: #000;
}

/* Logo rechts oben */
header img.logo {
    position: absolute;
    top: 20px;
    right: 30px;
    width: auto;
    height: 100px;
    max-width: 180px;
}

/* Slogan unter Titel */
.header-slogan {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-style: italic;
    color: #000;
    margin-top: -4px;
    margin-bottom: 25px;
}

/* NAVIGATION */
nav {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 25px;
    border: 2px solid #FF00FF;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #FF00FF;
    color: #000;
}

/* BACK BUTTON mittig */
.back-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto; /* Abstand oben + zentriert */
    padding: 14px 32px;
    background-color: #FF00FF;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #e600e6;
    color: #000;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 25px;
    background-color: #f0e6ed;
    margin-top: 50px;
}

/* RESPONSIVE – Handy / Tablet */
@media (max-width: 768px) {
    header img.logo {
        position: static;
        display: block;
        margin: 15px auto 0 auto;
        height: 80px;
        max-width: 150px;
    }
}


/* =====================
   GRUNDLAGEN
===================== */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #f3f1f2;
    color: #000;
    line-height: 1.6;
}

.page-wrapper {
    min-height: 100vh;          /* Ganze Höhe des Viewports */
    display: flex;
    flex-direction: column;      /* Header + Main + Footer untereinander */
}

/* MAIN nimmt restlichen Platz ein */
main {
    flex: 1;
}

/* =====================
   HEADER
===================== */
header {
    background-color: #f0e6ed;
    padding: 20px 30px;
    position: relative;
    text-align: center;
}

/* Titel mittig */
header h1 {
    margin: 0;
    font-size: 32px;
    color: #000;
}

/* Logo rechts oben */
header img.logo {
    position: absolute;
    top: 20px;
    right: 30px;
    width: auto;
    height: 100px;
    max-width: 180px;
}

/* Slogan unter Titel */
.header-slogan {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-style: italic;
    color: #000;
    margin-top: -4px;
    margin-bottom: 25px;
}

/* =====================
   NAVIGATION
===================== */
nav {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 25px;
    border: 2px solid #FF00FF;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #FF00FF;
    color: #000;
}

/* =====================
   SECTIONS
===================== */
section {
    max-width: 900px;
    margin: 35px auto;
    padding: 30px;
    background-color: #f8f6f7;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* Überschriften */
h2 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 60px;
    height: 3px;
    background-color: #FF00FF;
}

/* =====================
   BACK BUTTON
===================== */
.back-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    padding: 14px 32px;
    background-color: #FF00FF;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #e600e6;
    color: #000;
}

/* =====================
   FOOTER
===================== */
footer {
    text-align: center;
    padding: 25px;
    background-color: #f0e6ed;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    header img.logo {
        position: static;
        display: block;
        margin: 15px auto 0 auto;
        height: 80px;
        max-width: 150px;
    }
}


/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    header img.logo {
        position: static;
        display: block;
        margin: 15px auto 0 auto;
        height: 80px;
        max-width: 150px;
    }
}
