/* =========================
   Globale Styles
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f6f9;
    color: #333;
    margin: 0;
}
/* =========================
   Fonts
   ========================= */

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.woff2') format('woff2'),
       url('../fonts/Poppins-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.woff2') format('woff2'),
       url('../fonts/Poppins-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
}

/* =========================
   HERO HEADER (STARTSEITE)
   ========================= */
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;

    background:
        linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.51)),
        url("../images/haus.jpg") center/cover no-repeat;

body:not(.home) header {
  height: auto;
  position: relative;
}
}



/* =========================
   Buttons
   ========================= */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn:hover {
    background: #ff3c00;
    transform: scale(1.05);
}



/* =========================
   Sections & Layout
   ========================= */
section {
    padding: 80px 10%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* =========================
   Cards
   ========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* CARD */
.card {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    margin: auto;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s ease;

    /* NEU */
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.5s ease;
}

.card:hover img {
    transform: scale(1.1);
}
.highlight-cta {
    display: inline-block;
    align-self: flex-start; /* links ausrichten im Flex-Container */

    font-size: 14px;
    font-weight: 500;
    color: #333;

    text-decoration: none;
    padding: 6px 0;

    border-bottom: 1px solid #ccc;
    transition: all 0.2s ease;
}

.highlight-cta:hover {
    color: #fff;
    border-bottom: 1px solid #000;
}

/* CONTENT */
.card-content {
    padding: 20px 30px;

    /* NEU */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* sorgt dafür, dass Text den Platz ausfüllt */
.card-content p {
    flex-grow: 1;
}

/* =========================
   Highlights
   ========================= */
.highlight {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.highlight-cta:hover {
    background: #ff3c00;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* =========================
   Download Box
   ========================= */
.download-box {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border-radius: 25px;
    padding: 50px;
    text-align: center;
}

.download-box a {
    display: inline-block;
    margin-top: 20px;
    background: white;
    color: #1e3c72;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.download-box a:hover {
    background: #ff6b35;
    color: white;
    transform: scale(1.05);
}

/* =========================
   Footer
   ========================= */
footer {
    background: #111;
    color: #aaa;
    text-align: center;
    padding: 20px;
}

.footer-nav {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #aaa;
    margin: 0 10px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: #ff6b35;
}

/* =========================
   Kontaktformular
   ========================= */
.kontakt-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
}

.kontakt-form input,
.kontakt-form textarea {
    padding: 14px 16px;
    margin-bottom: 18px;
    border: none;
    outline: none;
    border-radius: 12px;
    background: #f1f3f6;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: 0.3s;
}

.kontakt-form input:hover,
.kontakt-form textarea:hover {
    background: #e9edf3;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
    background: #e3e8ef;
}

.kontakt-form textarea {
    min-height: 140px;
    resize: vertical;
}

.kontakt-form button {
    align-self: flex-start;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    background: #ff6b35;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.kontakt-form button:hover {
    background: #ff3c00;
    transform: scale(1.05);
}

.kontakt-form a {
	color: #ff3c00;
	text-decoration:none;
}

.kontakt-form a:hover {
	color: #ff3c00;
	text-decoration: underline;
	
	}

/* =========================
   Kontakt Banner
   ========================= */
.kontakt-banner {
    height: 300px;
    background:
        linear-gradient(rgba(0,0,0,0.13), rgba(0,0,0,0.02)),
        url("../images/21.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.kontakt-banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.kontakt-banner-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}
.datenschutz {
	color:#ff3c00;
	text-decoration: none;
}
.datenschutz:hover{
	
	text-decoration: underline
}

/* =========================
   Galerie & Lightbox
   ========================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s;
}

.gallery img:hover {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.lightbox img {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 70%;
    border-radius: 8px;
}

.lightbox:target {
    display: block;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 30px;
    text-decoration: none;
}

.caption {
    text-align: center;
    margin-top: 20px;
    color: white;
}

.caption h2 {
    font-weight: 700;
    margin-bottom: 8px;
}

.caption p {
    font-weight: 400;
    color: #ccc;
    margin: 0;
}

/* =========================
   Responsive Styles
   ========================= */
@media (max-width: 768px) {
    #kontakt { padding: 40px 5%; }
    .kontakt-card { padding: 15px; }
    .kontakt-form input,
    .kontakt-form textarea { font-size: 0.9rem; padding: 12px 14px; }
    .kontakt-form button { padding: 10px 25px; font-size: 0.9rem; }
    
    .kontakt-banner {
        height: 220px;
        padding: 0 20px;
    }

    .kontakt-banner-content h1 {
        font-size: 1.8rem;
    }

    .kontakt-banner-content p {
        font-size: 1rem;
    }
}
/* =========================
   Cookie Consent
   ========================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-size: 14px;
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

.cookie-banner button {
    background: #fff;
    color: #000;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
}