/* Layout-Grundstruktur */
:root {
  --sky-color: #149BE2;   /* Himmel */
  --sky-color2:#149BE2;	  /* Himmel heller*/
  --sky-color3:#6dcce8;
  --sun-color: #FECB21;   /* Sonne */
}
/* --- Kachel-Layout (Nicepage-Stil) --- */
.u-section-info{padding:60px 0;background:#f9f9f9}
.u-cards{display:flex;gap:30px;flex-wrap:wrap;justify-content:center;max-width:1120px;margin:0 auto}
.u-card{flex:1 1 250px;max-width:340px;text-align:center;padding:40px 20px;
        border:2px solid #fecb21;border-radius:6px;background:#fff;
        box-shadow:0 6px 12px rgba(0,0,0,.05);animation:fadeIn 1.2s ease}
.u-card h4{margin:15px 0 10px;font-size:1.3rem}
.u-card .u-icon{font-size:2.4rem}

.logo{
	max-width: 400px;
	height: auto;
}
}
/* ==== Banana-SUN Studio-Styles ==== */
.banana-sun{
  /* Farbsystem */
  --primary:        #FFD93B;   /* Banana-Gelb */
  --primary-light:  #FFF4B0;
  --accent:         #FFC400;
  --text:           #333;
  --bg:             #FFFDF7;
  --radius:         14px;

  font-family: system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Reset innerhalb des Blocks */
.banana-sun *,
.banana-sun *::before,
.banana-sun *::after{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---------- Hero ---------- */
.banana-sun .studio-hero{
  position: relative;
  height: 320px;
  background: url("https://banana-sun.de/admin/img/studio_hero.png") center/cover no-repeat;
}
.banana-sun .studio-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.banana-sun .studio-hero h1{
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 3rem;
  text-align: center;
}

/* ---------- Info-Grid ---------- */
.banana-sun .studio-info-grid{
  padding: 4rem 1rem;
  max-width: 1100px;
  margin: auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
}
.banana-sun .studio-card{
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
}
.banana-sun .studio-card h3{
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.banana-sun .studio-card dl,
.banana-sun .studio-card p{
  font-size: .95rem;
}
.banana-sun .studio-card dl dt{font-weight:600;}
.banana-sun .studio-card dl dd{margin:0 0 .4rem 0;}

/* ---------- Galerie ---------- */
.banana-sun .studio-gallery{
  padding: 4rem 1rem;
  max-width: 1100px;
  margin: auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}
.banana-sun .studio-gallery img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .3s;
}
.banana-sun .studio-gallery img:hover{
  transform: scale(1.03);
}

/* ---------- Logo-Reihen ---------- */
.banana-sun .studio-logo-row{
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 4rem;
  max-width: 1100px;
  margin: auto;
}
.banana-sun .studio-logo-row img{
  height: 42px;
  object-fit: contain;
}

/* ---------- Abschnittsüberschriften ---------- */
.banana-sun section h2{
  font-weight: 600;
  margin: 4rem auto 1rem;
  max-width: 1100px;
  padding: 0 1rem;
  color: var(--text);
}

details { margin-bottom: 1rem; border: 1px solid #ddd; border-radius: .4rem; padding:.8rem; }
summary { cursor:pointer; font-weight:600; }


body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f7f9fc;
	height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
}

button {
    appearance: auto;
    font-style: ;
    font-variant-ligatures: ;
    font-variant-caps: ;
    font-variant-numeric: ;
    font-variant-east-asian: ;
    font-variant-alternates: ;
    font-variant-position: ;
    font-variant-emoji: ;
    font-weight: ;
    font-stretch: ;
    font-size: ;
    font-family: ;
    font-optical-sizing: ;
    font-size-adjust: ;
    font-kerning: ;
    font-feature-settings: ;
    font-variation-settings: ;
    text-rendering: auto;
    color: buttontext;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    cursor: default;
    box-sizing: border-box;
    background-color: buttonface;
    margin: 0em;
    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
    border-style: outset;
    border-color: buttonborder;
    border-image: initial;
}

/* Header */
.main-header {
    background-color: var(--sky-color2);
    color: white;
    padding: 25px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 22px;
    color: white;
    text-decoration: none;
}

.logo a:hover {
    text-decoration: underline;
}

.user-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.username {
    font-weight: 500;
}

.logout-btn {
    background-color: #ff8c00;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

.logout-btn:hover {
    background-color: #e07b00;
}

/* Footer */
.main-footer {
    background-color: #eaeaea;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    margin-top: 40px;
}
/* HTML und Body auf volle Höhe setzen */
html {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
	scroll-behavior: smooth;
}

/* Inhalt der Seite (z.B. Main) muss den verbleibenden Platz einnehmen */
main {
    flex: 1;
}

/* Standard-Design für den Footer */
footer {
    background-color: #eaeaea;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    margin-top: 40px;
}

/* Optional: Stil für den Footer */
footer p {
    margin: 0;
}

/* Navigation */
.main-nav {
    background-color: var(--sky-color2);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
	margin-top: 1.5rem; 
	text-align: center;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.main-nav li a {
    display: inline-block;
    padding: 16px 0;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.main-nav li a:hover {
    border-bottom: 3px solid var(--sun-color);
    color: #ffcc00;
}

.main-nav li a.active {
    border-bottom: 3px solid white;
    font-weight: 600;
}

/*Login Seite*/
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px); /* berücksichtigt Headerhöhe */
    background-color: #f0f4f9;
    padding: 40px 20px;
}

.login-box {
    background: white;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border-top: 6px solid #004488; /* optisch passend zum Header */
}

.login-box h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #004488;
    font-size: 24px;
}

.login-box label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 500;
    color: #333;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.login-box input:focus {
    outline: none;
    border-color: #004488;
}

.login-box button {
    margin-top: 25px;
    width: 100%;
    padding: 12px;
    background-color: #004488;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-box button:hover {
    background-color: #003366;
}

.error-message {
    background: #ffe6e6;
    color: #a00;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #e88;
}

/*Dashboard Home*/
.dashboard-main {
    padding: 40px 20px;
    background-color: #f9fbfd;
}

.dashboard-container {
	width: 100%;
    box-sizing: border-box;
	overflow-x: auto; /* scrollt innerhalb, nicht die ganze Seite */
}

.dashboard-container h1 {
    color: var(--sky-color);
    font-size: 28px;
    margin-bottom: 10px;
}

.dashboard-container .subtext {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

.dashboard-box {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    text-align: left;
}

/*Benutzerverwaltung*/
.table-wrapper {
    width: auto;
	padding: 30px;
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
	table-layout: auto; /* oder fixed wenn du feste Spalten willst */
}

.user-table thead {
    background-color: var(--sky-color);
    color: white;
}

.user-table th, .user-table td {
    padding: 14px 16px;
    text-align: left;
}

.user-table tr.even {
	font-weight: bold;
    background-color: #e9f7fc;
}

.user-table tr.odd {
	font-weight: bold;
    background-color: #ffffff;
}

.user-table tr.odd:hover {
    background-color: #dbf2fa;
    transition: background-color 0.2s ease-in-out;
}

.user-table tr.even:hover {
    background-color: #dbf2fa;
    transition: background-color 0.2s ease-in-out;
}

.user-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    padding: 6px;
    border-radius: 6px;
    height: 36px;
    width: 36px;
    transition: background-color 0.2s ease-in-out;
}

.action-button img {
    width: 18px;
    height: 18px;
}

.edit-btn:hover {
    background-color: #cde2ff;
}

.delete-btn:hover {
    background-color: #ffd4d4;
}
.benutzer-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-top: -10px;
    margin-bottom: 15px;
}
.benutzer-header {
    display: flex;
	padding: 40px;
    justify-content: space-between;
    align-items: center;
}

.btn-blue-a {
    background-color: var(--sky-color);
    color: #fff;
    padding: 10px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-blue-a:hover {
    background-color: #6dcce8;
}

.btn-blue {
    background-color: var(--sky-color);
    color: #fff;
    padding: 10.5px 10.5px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-blue:hover {
    background-color: #6dcce8;
}

.btn-img {
	height: 32px;
	width: 32px;
}

.btn-cancel {
    background-color: #9b111e;
    color: #fff;
    padding: 10px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-cancel:hover {
    background-color: #a52019;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px;
    margin: 20px 0;
    border-radius: 5px;
}

.success-popup {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    display: none;  /* Standardmäßig nicht sichtbar */
    opacity: 0;     /* Opazität auf 0 setzen */
    transition: opacity 1s ease-in-out;  /* Übergangseffekt */
    z-index: 9999;  /* Sicherstellen, dass es oben auf der Seite ist */
}
.success-popup.show {
    display: block;  /* Popup sichtbar machen */
    opacity: 1;      /* Opazität auf 1 setzen */
}

.error-popup {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #edd4d4;
    border: 1px solid #e5c2c2;
    color: #561515;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    display: none;  /* Standardmäßig nicht sichtbar */
    opacity: 0;     /* Opazität auf 0 setzen */
    transition: opacity 1s ease-in-out;  /* Übergangseffekt */
    z-index: 9999;  /* Sicherstellen, dass es oben auf der Seite ist */
}


.error-popup.show {
    display: block;  /* Popup sichtbar machen */
    opacity: 1;      /* Opazität auf 1 setzen */
}



/*Neuer Benutzer*/
.form-wrapper {
    max-width: 500px;
    margin: 50px auto;
    background-color: #f5f9ff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid #d0dbe9;
}

.form-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-box label {
    font-weight: 500;
    color: #333;
}

.form-box input[type="text"],
.form-box input[type="email"],
.form-box input[type="password"],
.form-box select {
	display: inline-block;
	padding: 0 16px 0 12px;
	width: 90%;
	line-height: 30px;
	height: 32px;
	border: 1px solid #dddbda;
	border-radius: 4px;
	background-color: #fff;
	color: rgb(8, 7, 7);
	transition: border .1s linear,background-color .1s linear;
}

.textbox  {
	display: inline-block;
	padding: 0 16px 0 12px;
	width: 90%;
	line-height: 30px;
	height: 32px;
	border: 1px solid #dddbda;
	border-radius: 4px;
	background-color: #fff;
	color: rgb(8, 7, 7);
	transition: border .1s linear,background-color .1s linear;
	
}    

.textbox input:focus{
		border-color: #1b96ff;
		color: var(--sds-c-input-text-color-focus);
		box-shadow: rgb(1, 118, 211) 0px 0px 3px 0px;
}

.form-box input:focus{
		border-color: #1b96ff;
		color: var(--sds-c-input-text-color-focus);
		box-shadow: rgb(1, 118, 211) 0px 0px 3px 0px;
}

.form-box .checkbox {
    margin-top: 10px;
    font-size: 14px;
}

/*Benutzer Bearbeiten*/
.form-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.btn-gray {
	background-color: #888;
    color: #fff;
    padding: 10px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-gray:hover {
    background-color: #666;
}

/*Passwort Zurücksetzen*/
.form-container {
    max-width: 400px;
    margin: 50px auto;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-container h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #004080;
}

.form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-container input[type="password"],
.form-container input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.blue-button {
    background-color: #004080;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}

.blue-button:hover {
    background-color: #0059b3;
}

.cancel-button {
    background-color: #ccc;
    color: black;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
}

.cancel-button:hover {
    background-color: #aaa;
}

/*Benutzer Löschen*/
/* Roter Button (Löschen) */
.red-button {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.red-button:hover {
    background-color: darkred;
}
/*Kundensuche*/

.suchformular {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-suche {
    padding: 10px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
    background-color: #f2f2f2;
}

.suchfeld {
    padding: 10px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 200px;
}

.suchbutton {
    padding: 10px 13px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.suchbutton:hover {
    background-color: #0056b3;
}

/*Kundendetail Visitenkarte*/
.visitenkarte {
    display: flex;
    background: #f9f9fb;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 20px;
    margin-top: 30px;
    position: relative;
    gap: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.visitenkarte-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 240px;
}

.kunden-profilbild {
    top: 10px;
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #ccc;
    background-color: #fff;
}

.visitenkarte-erstellt {
    margin-top: 12px;
    font-size: 14px;
    color: #777;
    text-align: center;
}

.visitenkarte-rechts {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 5px;
    font-size: 16px;
    color: #333;
    position: relative;
}

.visitenkarte-rechts div {
    line-height: 1.4;
}

.visitenkarte-id {
    position: absolute;
    bottom: -17px;
    right: 72px;
    font-size: 14px;
    color: #aaa;
}

/*Kunden Overlay*/
.kunden-modal {
    FONT-WEIGHT: 200;
    position: fixed;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    padding: 0px;
    border-radius: 0px;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    max-width: 960px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
}

.modal-close-btn {
    position: absolute;
    top: -17px;
    right: -17px;
    background-color: red;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 11px;
}
.modal-close-btn:hover {
	background-color: darkred;
}

.clickable-row {
    cursor: pointer;
}
.clickable-row:hover {
    background-color: #2a2d32;
}

/*Kunde löschen Popup*/
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    min-width: 300px;
    position: relative;
    text-align: center;
}
.modal-close {
    position: absolute;
    top: 10px; right: 10px;
    cursor: pointer;
    font-size: 18px;
}

.customer_inputbox{
	width: 100%;
	padding: 10px 14px;
	margin-left: 10px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background-color: #f9f9f9;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	box-sizing: border-box;
}

.customer_inputbox:disabled {
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}

.customer-actions {
    display: flex
;
    gap: 5px;
    align-items: center;
    flex-direction: row-reverse;
}

/*Navigations Manager*/

.nav-bar {
	display: flex;
	gap: 10px;
	background-color: #f1f1f1;
	padding: 10px 20px;
	border-radius: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.nav-button {
	background-color: #007BFF;
	color: white;
	padding: 10px 16px;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s;
}

.nav-button:hover {
	background-color: #0056b3;
}

.admin-actions {
	margin-top: 20px;
	text-align: center;
}

.admin-actions button {
	margin: 0 10px;
	padding: 10px 16px;
	font-size: 14px;
	cursor: pointer;
	border: none;
	border-radius: 5px;
	background-color: #444;
	color: white;
}

.admin-actions button:hover {
	background-color: #222;
}

.profilbild-mini {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profilbild-mini:hover {
    transform: scale(2);
    z-index: 1000;
    position: relative;
}

.editor_container{
	width: auto;
	padding: 30px;
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.bilder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
	margin-top: 20px;
	
}
.bild-box {
    text-align: center;
}
.bild-thumb {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.bild-name {
    font-size: 13px;
    margin-top: 6px;
    word-break: break-word;
}
.btn-red-small {
    background-color: #cc0000;
    color: white;
    border: none;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
}
.btn-red-small:hover {
    background-color: #990000;
}

.tabs-container {
    border: 1px solid #ccc;
    border-radius: 6px;
    margin: 20px;
    background: #f9fbfd;
}
.tab-buttons {
    display: flex;
    border-bottom: 1px solid #ccc;
    background: var(--sky-color);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.tab-button {
	color: white;
    margin-left: 2px;
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    border-right: 1px solid #0055aa;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background-color: var(--syk-color2);
}
.tab-button.active {
    border-bottom: 3px solid var(--sun-color);
    color: var(--sun-color);
}
.tab-button:hover {
    border-bottom: 3px solid #ffcc00;
    color: #ffcc00;
}
.tab-content-wrapper {
    padding: 20px;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

.kunden-overlay { 
	position: fixed; 
	top: 0; 
	left: 0; 
	right: 0; 
	bottom: 0; 
	background-color: rgba(0,0,0,0.4); 
	display: none; 
	justify-content: center; 
	align-items: center; 
	z-index: 9999; 
}
.overlay-content { 
	background: #fff; 
	border-radius: 8px; 
	padding: 30px 40px; 
	width: 750px; 
	box-shadow: 0 4px 20px rgba(0,0,0,0.2); 
}
.overlay-content h2 { 
	margin: 0 0 20px; 
	color: #004488; 
	font-size: 22px; 
}
.form-grid { 
	display: grid; 
	grid-template-columns: 1fr 1fr; 
	gap: 15px 25px; 
}
.form-grid label { 
	font-weight: 500; 
	color: #333; 
}
.form-grid input, .form-grid select { 
	width: 100%; 
	padding: 10px; 
	border: 1px solid #ccc; 
	border-radius: 5px; 
}
.form-buttons { 
	display: flex; 
	justify-content: space-between; 
	margin-top: 30px; 
}
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 15px 30px;
}
.pagination-controls label {
    margin-right: 5px;
}
.page-links a {
    margin: 0 4px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 1px;
    text-decoration: none;
    color: #004488;
}
.page-links a.active {
    background-color: #004488;
    color: #fff;
    font-weight: bold;
}
.page-links a.active:hover {
    background-color: #004488;
    border-bottom: 3px solid #ffcc00;
    color: #ffcc00;
    font-weight: bold;
}
.page-links a:hover {
    background-color: #e0e0e0;
	border-bottom: 3px solid #ffcc00;
    color: #ffcc00;
}
.kunden-zähler {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 5px;
}

.overlay-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px 40px;
    width: 750px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px 25px;
}
.form-grid.split-columns {
    grid-template-columns: 1fr 1fr;
}
.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}
.file-preview {
    max-height: 100px;
    max-width: 100px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f9f9f9;
}
.file-input-side {
    flex-grow: 1;
}

.feldformular-zweispaltig {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}
.feldformular-zweispaltig .linke-spalte,
.feldformular-zweispaltig .rechte-spalte {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.feldformular-zweispaltig label {
    font-weight: 500;
}
.feldformular-zweispaltig input[type="text"],
.feldformular-zweispaltig input[type="number"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
	width: 90%
	min-height: 90px;
}
.nav-item {
    padding: 10px 16px;
    background: var(--sky-color3);
    color: white;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
	border-bottom: 3px solid var(--sky-color3);
}
.nav-item:hover {
    border-bottom: 3px solid #ffcc00;
    color: #ffcc00;
}
.nav-item.sortable {
    cursor: move;
}
.icon-button img {
    width: 32px;
    height: 32px;
}
.left {
    display: flex;
    gap: 10px;
}
.btn-red {
    background-color: #c00;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 5px;
    cursor: pointer;
}
.btn-red:hover {
    background-color: #900;
}
.btn-gray {
    background-color: #888;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 5px;
    cursor: pointer;
}
.btn-gray:hover {
    background-color: #555;
}

/* Minimal-Styles nur für diese Demo – gern in deine style.css übernehmen */
.subscription-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 2rem;
}
.plan-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
    text-align: center;
    position: relative;
    transition: transform .2s ease;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-card.featured {
    background: var(--sun-color, #ffd93b);
    color: #2d2d2d;
}
.ribbon {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #ff5722;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 10px;
    transform: rotate(8deg);
    border-radius: 4px;
}
.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0 .5rem;
}
.plan-card ul {
    text-align: left;
    margin: 1rem auto 1.5rem;
    max-width: 220px;
}
.plan-card ul li { margin: .4rem 0; }
.plan-btn {
    display: inline-block;
    padding: .7rem 1.5rem;
    border-radius: 8px;
    background: #2d2d2d;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s ease;
}
.plan-card.featured .plan-btn { background: #2d2d2d; }
.plan-btn:hover { background: #000; }

.studio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin-top: 1rem;
}

.studio-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.studio-gallery img:hover {
  transform: scale(1.03);
}
.studio-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.artikel-teaser { border: 1px solid #ddd; padding: 1rem; margin: 1rem 0; border-radius: 8px; background: #fff; }
.artikel-teaser h3 { margin-top: 0; }
.artikel-bild { width: 100%; max-width: 300px; height: auto; margin-bottom: 1rem; }
.mehr-button { display: inline-block; margin-top: 0.5rem; background: #ffc107; color: #000; padding: 0.5rem 1rem; border-radius: 4px; text-decoration: none; }

.artikel-seite { padding: 2rem; max-width: 800px; margin: auto; }
.artikel-seite img.artikel-vollbild { width: 100%; max-height: 400px; object-fit: cover; margin-bottom: 2rem; }

/* Hauptcontainer */
.wiki-inhalt {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Kachel-Layout */
.teaser-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: #fffbe6;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  align-items: flex-start;
}

.teaser-box.teaser-right {
  flex-direction: row-reverse;
}

/* Bildbereich */
.teaser-image {
  flex: 0 0 200px;
}
.teaser-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Textbereich */
.teaser-text {
  flex: 1;
  min-width: 200px;
}
.teaser-text h2 {
  margin-top: 0;
  font-size: 1.2rem;
}
.teaser-text p {
  margin: 0.5rem 0 1rem;
  font-size: 1rem;
  line-height: 1.4;
}
.teaser-button {
  display: inline-block;
  margin-top: 0.5rem;
  background: #ffe135;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.map-container {
  width: 100%;
  max-width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

@media(max-width:1100px){
	.u-cards{
		flex-direction:column;
		gap:20px
	}
	.logo{
		max-width: 250px;
		height: auto;
	}	
	.teaser-box {
		flex-direction: column;
		align-items: center;
		padding: 1rem;
	}
	.teaser-image {
		width: 100%;
		max-width: 280px;
		margin-bottom: 1rem;
	}
	.teaser-text {
		width: 100%;
		text-align: left;
	}
	.main-nav ul {
        display: none !important;   /* verhindert das Flexbox-Verhalten auf Mobil */
        flex-direction: column;
        gap: 10px;
        padding: 10px 20px;
        background: #3CBBE1;
        width: 100%;
    }
    .main-nav ul.show {
        display: flex !important;   /* klappt auf beim Toggle */
    }
    .right-slot {
        margin-top: 10px;
        width: 100%;
        justify-content: flex-end;
    }
	.site-title a {
        font-size: 3rem;
    }
}

        /* Logo */
        .site-title { font-family: 'Pacifico', cursive; font-size: 34px; margin: 0; }
        .site-title a {
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    color: #f3b700;
    white-space: nowrap; /* Verhindert Zeilenumbruch */
    display: inline-flex; /* Sorgt für horizontale Ausrichtung */
    align-items: center;
    gap: 6px;
}

        /* Header */
        .header-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; }
        .club-btn, .plan-btn { background-color: var(--sun-color, #ffd93b); color: #2d2d2d; padding: 8px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: background-color 0.3s ease; border: 0; cursor: pointer; }
        .club-btn:hover, .plan-btn:hover { background-color: #e5ad00; }

        /* Login Overlay */
        .overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: none; align-items: center; justify-content: center; z-index: 1000; }
        .overlay.show { display: flex; }
        .login-modal { background: #fff; border-radius: 16px; padding: 30px 25px; width: 100%; max-width: 420px; box-shadow: 0 10px 40px rgba(0,0,0,.15); position: relative; }
        .login-modal h2 { margin-top: 0; text-align: center; }
        .login-modal .field { margin: 12px 0; }
        .login-modal label { display: block; margin-bottom: 4px; font-weight: 600; }
        .login-modal input { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 6px; }
        .close-btn { position: absolute; top: 15px; right: 15px; cursor: pointer; font-size: 24px; line-height: 1; color: #777; }
        .helper-links { text-align: center; }
        .helper-links a { color: var(--sky-color3, #1e88e5); text-decoration: none; }
        .helper-links a:hover { text-decoration: underline; }


/* ---------- Navigation --------------------------------------------- */
.main-nav ul{
	list-style:none;
	margin:0;
	padding:0;
	display:flex;
	gap:1rem;
	flex-wrap:wrap;
	justify-content:center
}
.main-nav a{
	display:block;
	padding:0.5rem 1rem;
	border-radius:999px;
	font-weight:500;
	text-decoration:none;
	color:#333;
	transition:background-color .3s
}
.main-nav a:hover,.main-nav a:focus,.main-nav a:active{
	background-color:rgba(0,188,212,.15)
}
.emoji {
    font-size: 1.8rem;
    margin-right: 5px;
}

/* ---------- Banana‑Club Button ------------------------------------- */
.club-btn{background:#00BCD4;color:#fff;border:none;border-radius:999px;padding:0.5rem 1rem;font-weight:600;text-decoration:none;transition:background-color .3s}
.club-btn:hover,.club-btn:focus{background:#0097A7}

/* ---------- User‑Panel --------------------------------------------- */
.user-panel{
	display:flex;
	align-items:center;
	gap:.6rem;
	background:#fff;
	border-radius:50px;
	padding:.3rem .8rem;
	box-shadow:0 0 12px 3px rgba(255,235,59,.45); /* sanfter gelber Glow */
}
.avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #FFEB3B}
.meta{display:flex;flex-direction:column;align-items:flex-start}
.name{font-weight:600;font-size:.95rem;color:#333;line-height:1.1}
.links{display:flex;gap:.4rem;margin-top:.15rem}
.btn.small{background:#E0F7FA;color:#006064;padding:.25rem .7rem;border-radius:999px;font-size:.8rem;font-weight:500;text-decoration:none;transition:background-color .2s}
.btn.small:hover{background:#B2EBF2}
.logout-btn{background:#FF7043;color:#fff}
.logout-btn:hover{background:#F4511E}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: #FECB21;
}

/* Neues Overlay-Menü */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100vh;
  background-color: #009EDB;
  box-shadow: -2px 0 12px rgba(0,0,0,0.3);
  padding: 2rem 1rem;
  z-index: 1000;
  transition: transform 0.3s ease;
  transform: translateX(100%);
}

.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}

.mobile-menu .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 60px 0 0;
}

.mobile-menu li {
  margin: 1rem 0;
}

.mobile-menu a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Mobil aktivieren */
@media (max-width: 1100px) {
  .menu-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
  }
}


#abos{
  scroll-margin-top: 200px; /* je nach Höhe deines Headers anpassen */
}

.start-kacheln {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.start-kacheln h2 {
  color: #009EDB;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.kachel-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.kachel-box {
  background-color: #fff;
  border: 2px solid #FECB21;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 300px;
  flex: 1 1 300px;
  box-sizing: border-box;
}

.kachel-box a {
  display: inline-block;
  background-color: #FECB21;
  color: #000;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1rem;
}

@media (max-width: 1100px) {
  .kachel-container {
    flex-direction: column;
    align-items: center;
  }
}
