/* Reset & Grundlegende Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ecf0f1;/*#f4f4f9*/
    color: #2c3e50;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

}

/* Header */
header {
    background-color: #2c3e50;
    padding: 20px 20px;
}

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

header h1 {
    color: white;
    font-weight: 600;
    font-size: 1.8rem;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #e74c3c;
}

/* Buttons */
button, .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2c3e50;
    color: white;
    border: none;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
}

button:hover, .button:hover {
    background-color: #2980b9;
}
.button.refresh_ip {
    margin-bottom: 10px;
}

/* Hero Section */
.hero {
    background-color: #3498db;
    color: white;
    padding: 0px 20px;
    text-align: center;
}

.hero.login_register {
    /*min-height: 100vh;*/
    padding-top: 20px;
}

.hero.login_register button {
    margin: 20px 0px;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero .container.header_image {
    flex-direction: row;

}

.hero .container .image_container {
    text-align: left;
    width: 50%
}

.hero .container .text_container {
    text-align: left;
    width: 50%;
    margin: auto;
}

.hero .container .image_container img {
   margin-top: 20px;
}



/* Features Section */
.features {
    padding: 60px 20px;
    text-align: center;
  
}

.features h2 {
    margin-bottom: 40px;
    font-size: 2em;
    font-weight: 600;
}

.feature-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature {
    width: 250px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Pricing Section */
.pricing {
    background-color: #ecf0f1;
    padding: 60px 20px;
    text-align: center;
    /*min-height: 100vh;*/
    /*padding-bottom: 100px;*/
}

.pricing h2 {
    margin-bottom: 40px;
    font-size: 2em;
    font-weight: 600;
}

.plan-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.plan {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 250px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.plan:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.plan h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
}

.plan p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.plan p.plan_property {
    padding: 0px;
    margin: 0px;
}

.plan p.plan_price {
   margin-top: 20px;
   font-weight: 700;
   margin-bottom: 20px;
}

.plan-list.prices .plan.mobile {
   display: none;
}

.plan.faq {
   width: calc(100% - 94px);
}

.plan p.plan_duration {
   margin-bottom: 20px;
   font-weight: 700;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #bdc3c7;
    text-align: center;
}

.contact form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.contact input, 
.contact textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.contact button {
    background-color: #2c3e50;
    color: white;
    border: none;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 6px;
}

.contact button:hover {
    background-color: #1b2838;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 500;
}

/* Tables for Dashboard */
table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

th {
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
}

/* Form Labels */
label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 1em;
}

input[type="text"], 
input[type="email"], 
input[type="number"],
input[type="password"],
select, 
textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    color: #333;
    background-color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="number"]:focus,
select:focus, 
textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    outline: none;
}


input::placeholder, 
textarea::placeholder {
    color: #888;
    font-style: normal;
}


input:disabled {
  color: #999;
  background-color: #f5f5f5; /* leicht grauer Hintergrund */
  cursor: not-allowed;       /* typischer „gesperrt“-Cursor */
}


label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 1em;
    color: #333;
}


select {
    padding: 12px 15px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


select:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    outline: none;
}


.creds-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.creds-modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 22px;
    width: 420px;
    max-width: 95%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.creds-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    color: #333;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

.creds-field {
    margin-top: 12px;
}

.creds-field label {
    font-weight: 600;
    font-size: 0.95rem;
    display:block;
    margin-bottom:6px;
}

.creds-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.creds-row input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fafafa;
}

.copy-btn {
    padding: 8px 10px;
    border-radius: 6px;
    background: #2c3e50;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.copy-btn:active { transform: translateY(1px); }



footer {
    /*position: fixed;*/
    bottom: 0;
    width: 100%;
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    font-size: 0.9em;
    text-align: center;
    margin-top: auto;
}

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

footer .footer-links {
    display: flex;
    gap: 20px;
}

footer .footer-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

footer .footer-link:hover {
    color: #e74c3c;
}



@media (max-width: 768px) {
    .feature-list, .plan-list {
        flex-direction: column;
        align-items: center;
    }

    .feature, .plan {
        width: 90%;
        margin-bottom: 20px;
    }
    
    footer {
    	font-size: 10px;
    }
    
    table {
    	font-size: 8px;
    }
    
}


@media only screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 0;
    }

    .navbar a {
        float: none;
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1em;
    }

    .footer {
        font-size: 0.8em;
        padding: 10px 0px;
    }
    
    .hero {
    	padding-bottom: 30px;
    }
    
    .hero .container.header_image {
    	flex-direction: column;

    }
    
   .hero .container .image_container {
    	text-align: center;
    	width: 100%
    }
    
    .hero .container .text_container {
    	width: 100%
    }
    
    .hero .container .text_container h2 {
    	font-size: 1.5em;
    }

    .plan p.plan_price {
	margin-top: 20px;
	font-weight: 500;
    }
    
    .plan-list.prices .plan {
    	display: none;
    }
    
    .plan-list.prices .plan.mobile {
	display: block;
    }
    
    .plan.faq {
    	width: 90%;
    }
    
    footer .footer-links {
    	display: flex;
    	gap: 20px;
    	margin-bottom: 8px;
    }
    
}

/* --- Oberer Footer (Company Info & Navigation) --- */
.top-footer {
    background-color: #34495e; /* heller als Hauptfooter (#2c3e50) */
    color: #f1f1f1;
    padding: 35px 0;
    font-size: 0.95em;
    border-top: 2px solid #2c3e50;
}

.top-footer .top-footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 25px;
}

/* Firmenname + Slogan */
.top-footer .footer-brand h2 {
    margin: 0;
    font-size: 1.6em;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.top-footer .footer-brand p {
    margin: 6px 0 0;
    color: #dcdcdc;
    font-style: italic;
    font-size: 0.9em;
}

/* Spaltenbereich */
.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    flex-wrap: wrap;
    gap: 30px;
}

/* Einzelne Spalten */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

.footer-column h3 {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 4px;
}

/* Links */
.footer-column .footer-link {
    color: #f1f1f1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-column .footer-link:hover {
    text-decoration: underline;
}

/* Support-Kontakt */
.footer-column p {
    margin: 4px 0;
}

.telegram-link {
    font-weight: bold;
    text-decoration: none;
    color: #f1f1f1;
}

.telegram-link:hover {
    text-decoration: underline;
}

/* --- Responsive Anpassung --- */
@media (max-width: 768px) {
    .top-footer {
        font-size: 0.85em;
        padding: 25px 10px;
    }

    .top-footer .footer-brand {
        text-align: center;
        width: 100%;
    }

    .footer-columns {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-column {
        align-items: center;
    }

    .footer-column h3 {
        border: none;
    }
}

.sticky-icon {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;

    /* Verhindert den „Font Awesome Bounding Box Rand“ */
    font-size: 28px;      /* Icon-Größe */
    line-height: 1;       /* keine extra Höhe */
    vertical-align: middle;
    padding: 0;
    margin: 0;
    
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 9999;

    /* Optional: Icon etwas kleiner skalieren, um perfekt zu zentrieren */
    transform: scale(0.9);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.sticky-icon i {
    display: block;       /* verhindert inline spacing */
    line-height: 1;
    transform: scale(2.4); /* feine Anpassung des Icon innerhalb des Kreises */
}

.sticky-icon:hover {
    background-color: #1c87c9;
    transform: scale(1.05);
}



@media (max-width: 768px) {
    .sticky-icon {
        font-size: 22px;
        bottom: 15px;
        right: 15px;
    }
    
    .sticky-icon i {
    	transform: scale(2.9);
    }
}



