/* CSS Document */



/* ----------------------SCHRIFT --------------------- */
/* Titel */
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/* Fliesstext */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/* ----------------------VARIABLEN --------------------- */
:root {
	--background_01: rgba(0,0,0,1.00); /* HINTERGRUND */
	--background_02: rgba(112,147,249,1.00); /* FARBE 1 DUNKEL PETROL */
	--background_03: rgba(164,0,140,1.00); /* FARBE 2 DUNKEL GRÜN */
	--background_04: rgba(23,24,81,1.00); /* akzentfarbe dunkel */

	--color_01: rgba(255,255,255,1.00); /* Schrift */
	--color_02: var(--background_03); /* Links */
	--color_03: rgba(0,165,182,1.00); /* Türkis */

	--border-radius:0.4rem; /* abrunden */
	--corner-shape: squircle; /* schöner rund */
}



/* ----------------------ALLGEMEIN --------------------- */
/* CSS reset */
* {
	padding:0px;
	margin:0px;
	box-sizing:border-box;	
}

html,body {
    height:100%;
    min-height:100%;
	padding:0.5rem 1rem;
	scroll-behavior: smooth;
}

body {
    background:var(--background_01);
    font-family: "Montserrat", sans-serif;
  	font-optical-sizing: auto;
  	font-weight: 1.5rem;
  	font-style: normal;
    color:var(--color_01);
	
	
}


h2, h3, h4, th {
  	font-family: "Abril Fatface", serif;
  	font-weight: 400;
  	font-style: normal;
	padding:1.5rem;
	margin:0rem 0rem 1rem 0rem;
}

h1{
	font-family: "Abril Fatface", serif;
    font-size: clamp(1.5rem, 5vw, 3.5rem);
	text-transform:uppercase;
	max-width:1200px;
	margin: 0rem auto;
	text-align: center;
}

h2{
    font-size: clamp(1.4rem, 2.2rem, 2.2rem);
    margin-top:1rem;
	text-align: center;
}
h3{
    
    font-size: clamp(1.3rem, 1.8rem, 1.8rem);
    margin-bottom:1rem;
	text-align: center;
}


h4{
	font-family: "Montserrat", sans-serif;
    font-size: clamp(1rem, 3vw, 2rem);
}
h5{
    font-family: "Abril Fatface", serif;
    font-size:1.2rem;
    margin-bottom:1rem;
	text-align: center;
}
p {
	font-family: "Montserrat", sans-serif;
	padding:0rem;
	font-size: 1.3rem;
	
}

a {
	color:var(--color_03);
    font-weight:bold;
	transition:all ease-in-out 0.5s;
	text-decoration: none;
}
a:hover {
	color:var(--color_02);
    font-weight:bold;
	transition:all ease-in-out 0.3s;
}
nav a {
	color:var(--color_03);
    font-weight:bold;
	transition:all ease-in-out 0.3s;
}

img {
	max-width:100%;
	width:100%;
}

hr {
	border-top:none;
	border-bottom:0.5px solid var(--color_02);
	margin:1rem 0rem;
}

/*----------ANORDNUNG-----------------------------------*/
header, main, footer, p {
	box-sizing:border-box;
	margin:0.5rem auto;	
	max-width:1200px;
    padding:1rem;
	
}

header  {
    font-size:1.5rem;
	font-weight:bold;
	text-transform: uppercase;
	display: flex;              /* Macht die Kinder (Logo + Nav) flexibel */
    justify-content: space-between; /* Schiebt Logo nach Links, Nav nach Rechts */
    align-items: center;        
}
header,footer  {
	
	background:var(--background_01);
}

footer {
    display: flex;
    justify-content: center; /* Zentriert die Links horizontal */
    align-items: center;     /* Zentriert sie vertikal */
    gap: 20px;               /* Erzeugt Abstand zwischen den Links */
    flex-wrap: wrap;         /* Verhindert Umbruch-Probleme auf Handys */
	font-size: clamp(0.5rem, 0.8rem, 0.8rem);
}

footer a {
	color:var(--color_01);
	transition:all ease-in-out 0.5s;
	
	
}
footer a:hover {
	color:var(--background_03);
	transition:all ease-in-out 0.3s;
}
/* Grunddesign der Leiste */
.navbar {
    background-color: transparent; 
    border-bottom: 1px solid white; /* Die gewünschte weisse Linie */
    color: white;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    padding: 5px 0; /* Padding links/rechts auf 0, damit es bündig mit dem Inhalt ist */
}

.nav-links {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex; /* Nebeneinander auf grossen Bildschirmen */
}

.nav-links li a {
    color: white;
    text-decoration: none;
	list-style: none !important;
    padding: 9px 15px;
    display: block;
}

.nav-links li a:hover {
    background-color:var(--background_03);
	/*text-decoration: underline;*/
}

/* Checkbox verstecken (sie steuert nur die Logik) */
#menu-toggle {
    display: none;
}

/* Hamburger Icon standardmäßig verstecken (für Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 10px;
}

.hamburger span {
    background-color: white;
    width: 30px;
    height: 3px;
    display: block;
}

main {
	min-height:70vh;
	background:var(--background_01);
	padding-bottom: 10rem;
}

main p{
        padding:0.5rem;
}
         



@media screen and (max-width: 768px) {

    /* Linie entfernen */
    .navbar {
        border-bottom: none;
    }

/* 1. HEADER: Volle Breite, Elemente links und rechts */
    header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        width: 100% !important;   
        margin: 0 !important;     
        padding: 2px 10px !important; 
        box-sizing: border-box;
    }

    /* 2. LOGO CONTAINER: Begrenzen und nach links schieben */
    #logo, .logo {
        display: block !important;
        width: auto !important;       /* Breite passt sich dem Bild an */
        max-width: 40% !important;    /* Darf nie breiter als 60% des Screens sein */
        height: auto !important;
        margin: 0 !important;
        float: none;
        
        /* Drückt den Burger nach rechts */
        margin-right: auto !important; 
    }

    /* 3. DAS BILD SELBST: Hier machen wir es klein! */
    #logo img, .logo img {
        height: 15px !important;      /* WICHTIG: Fixe Höhe (z.B. 50px) */
        max-height: 15px !important;  /* Zur Sicherheit */
        width: auto !important;       /* Breite passt sich automatisch an */
        max-width: 100% !important;   /* Darf nicht aus dem Container ragen */
        object-fit: contain;          /* Bild wird nicht verzerrt */
        display: block;
    }
	
	.kleineslogo {
		max-width: 200px;
		padding-top: 1rem;
	}

    /* 4. HAMBURGER: Rechts */
    .hamburger {
        display: flex !important;
        position: static;
        width: auto !important;
        margin: 0;
        margin-left: 0 !important; 
        flex-shrink: 0; /* Darf nicht zusammengedrückt werden */
		padding: 2.5rem;
    }

    /* 4. NAVIGATION (Dropdown) */
    nav {
        display: none; 
        width: 100%;
        position: absolute;
        top: 0; 
        left: 0;
        background-color: white;
        z-index: 10000;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        text-align: center;
    }

    nav.active {
        display: flex;
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #eee; 
		
    }

    nav ul li a {
        display: block;
        padding: 15px 0;
    }

    /* --- CHECKBOX LOGIK  ------------------------------------- */
    .nav-links {
        display: none;
    }
    
    #menu-toggle:checked + .hamburger + .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100vw;
		height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
		backdrop-filter: blur(10px); /* Verschwommener Hintergrund */
    	webkit-backdrop-filter: blur(10px); /* Unterstützung für Safari */
        z-index: 9999;
    }
    
/* Preistabelle responsive Fixes (aus vorherigen Schritten) */
    .table-container { 
		width: 100%; 
		overflow-x: hidden; 
		box-shadow: none; 
	}
	
    .preis-tabelle { 
		width: 100% !important; 
		min-width: 0 !important; 
		display: block; 
	}
    .preis-tabelle thead { 
		display: none; 
	}
    .preis-tabelle tbody tr { 
		display: block; 
		width: 100%; 
		margin-bottom: 15px; 
		border: 1px solid #ddd; 
		border-radius: 8px; 
		box-sizing: border-box; 
	}
	
    .preis-tabelle td { 
		display: flex; 
		justify-content: flex-start; 
		align-items: center; 
		text-align: left; 
		padding: 10px 5px; 
		border-bottom: 1px solid #eee; 
		box-sizing: border-box; 
	}
	
    .preis-tabelle td:last-child { 
		border-bottom: 0; 
	}
	
    .preis-tabelle td::before { 
		content: attr(data-label); 
		font-weight: bold; 
		width: auto; 
		min-width: 0; 
		flex: 0 0 auto; 
		padding-right: 10px; 
		color: #333; 
	}
	
    .preis-tabelle td > * { 
		flex: 1; 
		display: block; 
		text-align: left;
	}
	
    .preis-tabelle td[data-label="Preis"] { 
		font-weight: bold; 
		color: #27ae60; 
	}
	
    .preis-tabelle td[data-label="Ausstattung"] { 
		display: block; 
		padding: 8px 5px; 
	}
	
    .preis-tabelle td[data-label="Ausstattung"]::before { 
		display: block; 
		margin-bottom: 5px; 
		color: #777; 
		font-size: 0.85em; 
	}

}
/*-----------PLAN CAMPING----------------------------------*/

text tspan {
	pointer-events: none;
}




/*-----------KLASSEN----------------------------------*/

.adminheader {
	padding-top: 2px !important;  /* Wert nach Wunsch anpassen */
    padding-bottom: 2px;
    background: #34495e;
    max-height: 100px;
	width: 100%;
}

.adminheader .container {
    padding-top: 0;
    padding-bottom: 0;
}

.container {
	display: flex; 
	
	justify-content: space-between; 
	align-items: center;
}

.containeruntereinander {
	display: flex; 
	flex-direction: column;
	justify-content: space-between; 
	align-items: center;
}

#cookie-banner {
	display: none; 
	position: fixed; 
	bottom: 20px; 
	left: 20px; 
	right: 20px; 
	background: #C95ED4; 
	border: 1px solid #ccc; 
	padding: 20px; 
	z-index: 1000; 
	box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
	border-radius: 8px;
}

#cookie2 {
	max-width: 1000px; 
	margin: 0 auto; 
	display: flex; 
	justify-content: space-between; 
	align-items: center; 
	flex-wrap: wrap;
}

#cookie3 {
	flex: 1; 
	min-width: 300px; 
	margin-right: 20px;
}

.fehler {
	background: #f8d7da; 
	color: #721c24; 
	padding: 15px; 
	border: 1px solid #f5c6cb; 
	border-radius: 5px; 
	margin-bottom: 20px;
}

.flex {
    display:flex;
    justify-content: space-between;
}

.nebeneinander {
	display: flex;
	flex-direction: row;
	gap: 70px;              /* Abstand zwischen den Karten */
    justify-content: center;/* Zentriert die Karten horizontal */
    margin-top: 30px;
}

.nebeneinander .card {
    flex: 1;                /* Alle Karten versuchen gleich breit zu sein */
    min-width: 200px;       /* Werden nicht schmaler als 200px */
    max-width: 300px;       /* Werden nicht breiter als 300px */
    text-align: center;
    text-decoration: none;  /* Entfernt Unterstreichung */
    padding: 30px 20px;
    transition: transform 0.2s; /* Kleiner Animationseffekt */
}

.nebeneinander .card:hover {
    transform: translateY(-5px); /* Hebt Karte beim Drüberfahren leicht an */
    border-color: #7093f9;      /* Nutzt deine Branding-Farbe */
}

.nebeneinander span {
    font-size: 3rem;        /* Macht die Icons schön groß */
}

.nebeneinander.zentriert {
    display: flex !important;
    flex-direction: row;        /* Nebeneinander aufreihen */
    justify-content: center;    /* Horizontal zentrieren */
    align-items: stretch;       /* Alle Karten gleich hoch machen */
    gap: 20px;                  /* Abstand zwischen den Karten */
    flex-wrap: wrap;            /* Umbruch auf Handys */
    margin: 40px auto;
    width: 100%;
    max-width: 1200px;          /* Verhindert zu weites Auseinanderziehen */
}

/* Die Karten selbst */
.nebeneinander.zentriert .card {
    flex: 0 1 250px;            /* Feste Basisbreite von 250px, darf aber schrumpfen */
    display: flex;
    flex-direction: column;
    align-items: center;        /* Inhalt in der Karte zentrieren */
    justify-content: center;
    text-align: center;
    text-decoration: none;
    padding: 30px 20px;
    transition: transform 0.2s;
}

/* Hover-Effekt für bessere Optik */
.nebeneinander.zentriert .card:hover {
    transform: translateY(-5px);
}
.logo {
	width: 6rem;
}

.logogross {
	width: 40rem;
	justify-content: center;
}

.zentriert {
	display: flex;
    justify-content: center;
    margin: 20px 0;
	text-align: center;
}

.marginunten {
	margin-bottom: 4rem;
}

.marginoben {
	margin-bottom: 4rem;
}

.paddingoben {
	padding-top: 5rem;
}

.paddingunten {
	padding-bottom: 5rem;
}

.rechts {
	display: flex !important;
    position: static;
    width: auto !important;
    margin: 0;
    margin-left: 0 !important; 
    flex-shrink: 0; /* Darf nicht zusammengedrückt werden */
	padding: 2.5rem;
}
.sticker {
	margin-bottom: 20px; 
	background: #2B2929; 
	padding: 10px; 
	border-radius: 8px;
}

#calendar {
        max-width: 1100px;
        margin: 40px auto;
        background: white;
        padding: 20px;
        border-radius: 8px;
        color: #333; /* Kalendertext dunkel für bessere Lesbarkeit */
    }

 .fc-event { 
	 cursor: pointer; 
}

/* --- RESPONSIVE BUTTONS --- */
input[type="submit"].btn-responsive {
    width: auto !important;
    min-width: 200px;
    max-width: 100%;
    /* clamp sorgt für flüssige Schriftgrößen-Anpassung */
    font-size: clamp(0.9rem, 2.5vw, 1.3rem) !important;
    padding: 12px 24px !important;
    margin: 20px auto !important;
    display: block;
    line-height: 1.2;
}

/* --- RESPONSIVE LEGENDE (FLEXBOX) --- */
.legende-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    font-family: "Montserrat", sans-serif;
}

.legende-item {
    flex: 1;
    min-width: 220px;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
}

.legende-item:hover {
    transform: translateY(-3px);
}

.legende-item strong {
    color: #444;
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.legende-item p {
    font-size: 0.85rem !important; /* Fliesstext in der Box kleiner */
    color: #666;
    line-height: 1.4;
    padding: 0;
    margin-bottom: 15px;
}

.legende-item .preis-tag {
    font-weight: bold;
    color: #000;
    font-size: 1.2rem;
}

.punkt {
    width: 15px;
    height: 15px;
    margin: 0 auto 10px;
    border-radius: 50%;
}

/* Mobile Anpassung für die Legende */
@media (max-width: 600px) {
    .legende-container {
        flex-direction: column;
    }
    .legende-item {
        min-width: 100%;
    }
}
/*---SVG PARZELLEN---------------------------------------------------*/
/* Nur Elemente, deren ID mit "parzelle-" beginnt */
[id^="parzelle-"] {
    transition: all 0.3s ease; /* Macht die Farbänderung weich */
}

/* Hover-Effekt: Wenn man mit der Maus drüberfährt */
[id^="parzelle-"]:hover {
    opacity: 0.7;        /* Wird leicht transparent */
    stroke: #00FFF3;        /* Bekommt einen schwarzen Rand */
    stroke-width: 4px;
}

.legende-container {
                display: flex;
                flex-wrap: wrap;
                gap: 15px;
                margin-top: 25px;
                font-family: sans-serif;
            }
            .legende-item {
                flex: 1;
                min-width: 200px; /* Ab dieser Breite bricht es in die nächste Zeile */
                border-radius: 12px;
                padding: 20px;
                text-align: center;
                background: #fff;
                box-shadow: 0 2px 5px rgba(0,0,0,0.05);
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }
            @media (max-width: 600px) {
                .legende-item {
                    min-width: 100%; /* Auf schmalen Handys volle Breite */
                }
            }
            .punkt {
                width: 15px; 
                height: 15px; 
                margin: 0 auto 10px; 
                border-radius: 50%;
            }

/*-----------GALIERIE----------------------------------*/
.galerie {
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
    border:1px solid var(--background_02);
    border-radius:var(--border-radius);
}

.galerie a {
	width:33%;
	aspect-ratio:3/2;
}
.galerie img {
	
    object-fit: cover;
	width:100%;
	height:100%;
    opacity: 1;
    transition:all ease-in-out 0.5s;
    border-radius:var(--border-radius);
}
.galerie img:hover {
    opacity: 0.8;
    transition:all ease-in-out 0.3s;
}


/*-----------FORMULAR----------------------------------*/
input, textarea, select {
	background:var(--background_04);
    border-radius:var(--border-radius);
	padding:0.5rem;
	font-family:"Abril Fatface", serif;
	font-size:1.5rem;
	color:whitesmoke;
	width:60%;
    display: block;
    margin-left: auto;   /* Schiebt von links in die Mitte */
    margin-right: auto;  /* Schiebt von rechts in die Mitte */
    margin-bottom: 1rem;
	border: 0.5px solid var(--background_03);
	box-shadow: 0.5px solid var(--background_02);
}

/* nur Checkboxen weniger breit */
input[type=checkbox]{
    width:20%;
}

/* nur Radioboxen weniger breit */
input[type=radio]{
    width:3rem;
}

input[type=color]{
    height:3rem;
}

/* Das spricht das Kalender-Icon in Chrome, Edge, Safari & Opera an */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1); /* Macht Schwarz zu Weiss */
    cursor: pointer;   /* Zeigt die Hand beim Drüberfahren */
    opacity: 0.8;      /* Optional: Nicht ganz so grell weiss */
}

/* Optional: Hover-Effekt für das Symbol */
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    transform: scale(1.1);
}

input[type="hidden"] {
	background: var(--background_03);
	color: gray;
}

/* Spezielles Design NUR für den Absenden-Button */
input[type="submit"] {
    background-color: var(--background_03); /* Startfarbe (z.B. Rot) */
    color: white;              /* Textfarbe */
    cursor: pointer;           /* Macht den Mauszeiger zur Hand */
    border: none;              /* Kein Rahmen */
    transition: background 0.3s ease; /* Macht den Farbwechsel weich */
    /* Schriftgröße clampen: 
       Mindestens 0.9rem (ca. 14px), 
       Ideal 2.5% der Bildschirmbreite, 
       Maximal 1.3rem (ca. 21px) */
    font-size: clamp(0.5rem, 2vw, 1.3rem);
    
    /* Wichtig: Padding statt fester Höhe nutzen, 
       damit der Button mit der Schrift mitwächst */
    padding: 10px 20px;
    /* Falls der Button nicht so breit sein soll wie die Felder: */
    width: 30%;     
	min-width: 150px;
	justify-content: center;
	text-align: center;
	display: block;
	margin: 20px auto;
}

/* DER HOVER EFFEKT (Maus drüber) */
input[type="submit"]:hover {
    background-color: var(--background_02); /* Farbe wird dunkler beim Drüberfahren */
    transform: scale(1.05);    /* Button wird minimal grösser (optional) */
}

@media (max-width: 480px) {
    input[type="submit"] {
        width: 90%;
    }
}

label {
    display: block;       /* Eigene Zeile für den Text */
    width: 60%;           /* Genau wie die Felder */
    margin-left: auto;    /* Zentrieren links */
    margin-right: auto;   /* Zentrieren rechts */
    
    /* Optional: Design anpassen */
    text-align: left;     
    color: whitesmoke;    
    font-size: 1.2rem;    
    margin-bottom: 0.4rem;
    margin-top: 1rem;     
}

/* Ändert die Farbe aller Platzhalter im Formular */
input::placeholder {
    color: #A888A6;       
    opacity: 1;           
    font-style: italic;   
}

/* Falls du auch Textfelder (Textarea) hast, nimm das dazu: */
textarea::placeholder {
    color: #A888A6;
    opacity: 1;
}
/*--------------------LISTEN------------------------------------------------ */

ul {
    padding-left:1.5rem;
}
ul li{
   	color:var(--color_01);
	list-style: none;
}
ul li:before{ 
  	content: '\2022';
   	color:var(--color_01);
    padding-right:.5rem;
}

/* Den künstlichen Punkt im Menü entfernen */
.nav-links li:before {
    content: none !important;
    padding-right: 0;
}

/*--------------------BUTTON---------------------------------------------------- */
/* From Uiverse.io by doniaskima, thanks! */ 
.btn-23,
.btn-23 *,
.btn-23 :after,
.btn-23 :before,
.btn-23:after,
.btn-23:before {
  border: 0 solid;
  box-sizing: border-box;
}

.btn-23 {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: button;
  background-color: #000;
  background-image: none;
  color: #fff;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 100%;
  font-weight: 900;
  line-height: 1.5;
  margin: 0;
  -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
  padding: 0;
  text-transform: uppercase;
}

.btn-23:disabled {
  cursor: default;
}

.btn-23:-moz-focusring {
  outline: auto;
}

.btn-23 svg {
  display: block;
  vertical-align: middle;
}

.btn-23 [hidden] {
  display: none;
}

.btn-23 {
  border-radius: 99rem;
  border-width: 2px;
  overflow: hidden;
  padding: 0.8rem 3rem;
  position: relative;
}

.btn-23 span {
  display: grid;
  inset: 0;
  place-items: center;
  position: absolute;
  transition: opacity 0.2s ease;
}

.btn-23 .marquee {
  --spacing: 5em;
  --start: 0em;
  --end: 5em;
  -webkit-animation: marquee 1s linear infinite;
  animation: marquee 1s linear infinite;
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
  opacity: 0;
  position: relative;
  text-shadow: #fff var(--spacing) 0, #fff calc(var(--spacing) * -1) 0,
    #fff calc(var(--spacing) * -2) 0;
}

.btn-23:hover .marquee {
  -webkit-animation-play-state: running;
  animation-play-state: running;
  opacity: 1;
}

.btn-23:hover .text {
  opacity: 0;
}

@-webkit-keyframes marquee {
  0% {
    transform: translateX(var(--start));
  }

  to {
    transform: translateX(var(--end));
  }
}

@keyframes marquee {
  0% {
    transform: translateX(var(--start));
  }

  to {
    transform: translateX(var(--end));
  }
}


/*-----------CARD DESKTOP--------------------------------------------*/
.card {
 	max-width:  800px;
 	min-height: 400px;
 	border-radius: 30px;
 	background: #212121;
 	box-shadow: 15px 15px 30px rgb(25, 25, 25),
             -15px -15px 30px rgba(67,56,65,1.00);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 3rem;
	margin: 2rem 2rem ;
	margin-left: auto;
	margin-right: auto;
}

/* ---CARD MOBILE ANSICHT (z.B. kleiner als 768px) CARD --- */
@media (max-width: 768px) {
	
.card {
	height: auto; 
    min-height: auto;
	margin: 7rem 1rem;
	padding: 1.5rem;
	}
	
} /* Ende CARD kleiner Screen*/

/*-----------TABELLE FÜR PREISE--------------------------------------------*/
.table-container {
        overflow-x: auto;
        margin: 20px 0;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }
    .preis-tabelle {
        width: 100%;
        border-collapse: collapse;
        min-width: 600px;
        background-color: white;
        font-family: "Montserrat", sans-serif;
    }
    .preis-tabelle thead tr {
        background-color: var(--background_03);
        color: white;
        text-align: left;
		flex-wrap: wrap;
    }
    .preis-tabelle th, .preis-tabelle td {
        padding: 15px 20px;
        border-bottom: 1px solid #dddddd;
    }
    .preis-tabelle tbody tr:hover {
        background-color: #f9f9f9;
    }
    .preis-highlight {
        color: dimgrey;
        font-weight: bold;
        font-size: 1.1em;
    }
    
    /* Icon Boxen */
    .icon-box {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 24px;
    }
    .icon-see { background-color: #e3f2fd; color: #2196f3; } /* Blau für See */
    .icon-zelt { background-color: #e8f5e9; color: #4caf50; } /* Grün für Standard */

    .btn-small {
        background-color: #333;
        color: white;
        padding: 8px 15px;
        text-decoration: none;
        border-radius: 4px;
        font-size: 0.9em;
        transition: background 0.3s;
    }
    .btn-small:hover { background-color: var(--background_02); }
    
    .badge {
        display: inline-block;
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 0.8em;
        margin-right: 5px;
    }
    .badge-strom { background-color: #fff3e0; color: #f57c00; border: 1px solid #ffe0b2; }
    .badge-see { background-color: #e3f2fd; color: #1976d2; border: 1px solid #bbdefb; }

.badge-comfort { 
        background-color: #fff8e1; 
        color: #f9a825; 
        border: 1px solid #fbc02d;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    /* Standard Badge (Grau/Grün) */
    .badge-standard { 
        background-color: #f1f8e9; 
        color: #558b2f; 
        border: 1px solid #c5e1a5; 
    }


/* --- MOBILE RESPONSIVE TABLE (Kompakt-Ansicht) --- */
@media screen and (max-width: 768px) {

    /* 1. Container aufräumen */
    .table-container {
        width: 100%;
        margin: 0;
        box-shadow: none;
        overflow-x: hidden;
    }

    /* 2. Tabelle anpassen */
    .preis-tabelle {
        min-width: 0 !important;
        width: 100% !important;
        display: block;
    }

    .preis-tabelle thead { display: none; }

    /* 3. Das Karten-Design */
    .preis-tabelle tbody tr {
        display: flex;
        margin-bottom: 15px; /* Abstand zwischen den Karten */
        border: 1px solid #ddd;
        border-radius: 8px;
        background-color: #fff;
        width: 100%;
        box-sizing: border-box;
		flex-wrap: wrap;
    }

    /* 4. Die Zeilen IN der Karte */
    .preis-tabelle td {
        display: flex;
        justify-content: space-between; 
        align-items: center; /* Vertikal mittig */
        flex-wrap: wrap;
        border-bottom: 1px solid #eee;
        
        /* Extrem wenig Rand, damit es links klebt */
        padding: 10px 5px; 
        
        text-align: left;
        font-size: 0.9em;
        
    }

    .preis-tabelle td:last-child { border-bottom: 0; }

    /* 5. Das Label (z.B. "Preis") */
    .preis-tabelle td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #333;
        
        /* Wir geben dem Label eine feste Breite, damit alles schön untereinander steht */
        width: auto;          /* Automatische Breite */
        min-width: 0;         /* Keine Mindestbreite */
        flex: 0 0 auto;
        
        text-align: left;
        padding-right: 5px; /* Kleiner Abstand zum Inhalt */
    }
    
    /* 6. Der Inhalt (rechts vom Label) */
    .preis-tabelle td > * {
        /* Inhalt soll direkt anschliessen */
        flex: 1;
        display: block; /* Normaler Block statt Flex rechtsbündig */
        text-align: left; /* Linksbündig! */
    }
    
    /* PREIS FETT MACHEN AUF HANDY */
    .preis-tabelle td[data-label="Preis"] {
        font-weight: bold;
        color: #27ae60;
    }

    /* --- SPEZIALANPASSUNG AUSSTATTUNG --- */
    /* Badges sollen untereinander stehen und maximalen Platz haben */
    .preis-tabelle td[data-label="Ausstattung"] {
        display: block; /* Kein Flex mehr, sondern Block (Label oben, Inhalt unten) */
        padding: 8px 5px;
    }
    
    .preis-tabelle td[data-label="Ausstattung"]::before {
        display: block;
        margin-bottom: 5px; /* Abstand nach unten zu den Badges */
        color: #777;
        font-size: 0.85em;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}

/* ----PFEIL NACH OBEN--------------------------------------------*/
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    color: slategrey;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Damit er über allen anderen Elementen liegt */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Erscheinen lassen (wird per JS gesteuert) */
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Hover-Effekt passend zu deinen anderen Links */
.back-to-top:hover {
    background: var(--background_03); 
    transform: translateY(-3px);
    color: white; /* Verhindert, dass die Link-Farbe aus dem Footer greift */
}

/*--GOOGLE MAPS------------------------------------*/
.karte-abschnitt {
    margin: 40px 0;
    width: 100%;
}

.karten-container {
    border: 4px solid var(--background_02); 
    border-radius: 10px;
    overflow: hidden;
    line-height: 0; /* Verhindert kleine Lücken unten */
	max-width: 1200px;
}

@media (max-width: 768px) {
    iframe {
        height: 300px; /* Kleinere Karte auf dem Smartphone */
    }
}

/* From Uiverse.io by javierBarroso */ 
.parent {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.child {
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transition: all 0.3s cubic-bezier(0.68, 0.85, 0.265, 1.85);
  border-radius: 5px;
  margin: 0 5px;
  box-shadow:
    inset 1px 1px 2px #fff,
    0 0 5px #4442;
}

.child:hover {
  background-color: white;
  background-position:
    -100px 100px,
    -100px 100px;
  /*transform: rotate3d(0.5, 1, 0, 30deg);*/
  transform: perspective(180px) rotateX(60deg) translateY(2px);
}


.child-2:hover {
  box-shadow: 0px 10px 10px #ff00ff;
}

.child-4:hover {
  box-shadow: 0px 10px 10px #4267b2;
}

.button {
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
  font-size: 12px;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.68, -0.85, 0.265, 1.55);
}

.child:hover > .button {
  transform: translate3d(0px, 20px, 30px) perspective(80px) rotateX(-60deg)
    translateY(2px) translateZ(10px);
}


/*--BACKEND---------------------------------------*/
.btn-delete {
    background-color: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.8rem;
}

.btn-delete:hover {
    background-color: #c0392b;
}

select {
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.dunkle-tabelle {
	background: grey;
}
