/* === Root Variables === */
:root {
	--primary-color: #007BFF;
	--primary-hover: #0056b3;
	--secondary-color: #f0f8ff;
	--footer-bg: #333;
	--footer-text: #bbb;
	--footer-link-hover: #00aaff;
	--text-color: #333;
	--text-light: #555;
	--bg-light: #f9f9f9;
	--bg-primary: #ffffff;
	--bg-hero: rgba(255, 255, 255, 0.85);
	--box-shadow-hero: 0 4px 6px rgba(0, 0, 0, 0.1);
	--box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--box-shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
	--transition-time: 0.3s;
	--primary-color-dark: #00408a;
}

/* === Global Styles === */
* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

body {
	font-family: Arial, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
}

a {
	text-decoration: none;
}

/* === Navigation === */
#navbar {
	display: grid;
	gap: 0;
	grid-template-columns: 400px 1fr 400px;
	align-items: center;
	background: rgba(51, 51, 51, 1);
	color: #fff;
	width: 100%;
	height: 70px;
	box-shadow: var(--box-shadow);
	position: fixed;
	z-index: 10;
	font-size: 1.2rem;
}

#navbar .logo {
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

#navbar .logo a {
	height: 70px;
  display: block;
  line-height: 70px;
}

#navbar .logo > img {
	height: 70px;
	object-fit: contain;
}

#navbar .nav {
	justify-self: center;
	align-items: center;
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 70px;
}

#navbar .nav li {
	display: inline-block;
}

#navbar .nav a {
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	transition: color var(--transition-time);
}

#navbar .nav a:hover {
	color: var(--primary-hover);
}

#navbar .order {
	justify-self: end;
	height: 70px;
	display: flex;
	align-items: center;
	padding-right: 20px;
}

#navbar .btn {
	text-decoration: none;
	color: #fff;
	background: #007BFF;
	padding: 3px 15px;
	border-radius: 25px;
	font-weight: bold;
	transition: background var(--transition-time);
}

#navbar .btn:hover {
	background: #0056b3;
}

/* === Hero Section === */
#hero {
	padding-top: 70px;
	background: url('../images/hero-banner.jpg') no-repeat center center/cover;
	color: #fff;
	text-align: center;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
}

#hero .hero-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 60%;
	background-color: var(--bg-hero);
	padding: 50px;
	border-radius: 5px;
	max-width: 100%;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	color: var(--text-color);
	border: 1px solid #fff;
}

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

#hero .hero-content p {
	font-size: 1.2rem;
	margin-bottom: 20px;
}

#hero .hero-content .btn {
	display: inline-block;
	padding: 10px 20px;
	font-size: 1rem;
	color: #fff;
	background-color: var(--primary-color);
	border: none;
	border-radius: 5px;
	cursor: pointer;
	text-decoration: none;
	box-shadow: var(--box-shadow-btn);
	max-width: 250px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
}

#hero .hero-content .btn:hover {
	background-color: var(--primary-hover);
	box-shadow: var(--box-shadow-btn-hover);
}

/* === Service Section === */
#service {
	text-align: center;
	padding: 50px 0;
	padding-top: 90px;
	background: var(--bg-light);
}

#service h2 {
	font-size: 2rem;
	margin-bottom: 20px;
	color: var(--text-color);
}

#service p {
	font-size: 1.1rem;
	margin-bottom: 30px;
	color: var(--text-light);
}

#service p.description {
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}

#service p.note {
	width: 60%;
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
	font-size: 0.8rem;
}

#service .icon {
	text-align: center;
	width: 300px;
	height: 300px;
	padding: 30px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 50%;
	box-shadow: var(--box-shadow);
	transition: transform var(--transition-time), box-shadow var(--transition-time), background-color var(--transition-time);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#service .icon:hover {
	transform: translateY(-10px);
	box-shadow: var(--box-shadow-hover);
	background-color: var(--secondary-color);
}

#service .icons {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

#service .icon i {
	font-size: 2.5rem;
	color: var(--primary-color);
	margin-bottom: 10px;
}

#service .icon p {
	font-size: 1rem;
	margin: 5px 0;
	color: var(--text-color);
}

#service .icon strong {
	font-size: 1.2rem;
	color: var(--text-color);
}

/* === how-it-works === */
#how-it-works {
	text-align: center;
	padding: 50px 0;
	padding-top: 90px;
	background: var(--bg-primary);
	margin: 50px auto;
	max-width: 800px;
}

#how-it-works h2 {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 20px;
	color: --text-color;
}

#how-it-works ol {
	list-style: decimal inside;
	margin: 20px 0;
	padding-left: 20px;
}

#how-it-works ol li {
	font-size: 1.2rem;
	line-height: 1.6;
	margin-bottom: 10px;
	color: #555;
}

#how-it-works ol li::marker {
	color: #007BFF;
	font-weight: bold;
}

#how-it-works .video-container {
	margin-top: 20px;
	text-align: center;
}

#how-it-works .video-container iframe {
	width: 100%;
	max-width: 800px;
	aspect-ratio: 16 / 9;
	border-radius: 5px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* === Prices Section === */
#prices {
	text-align: center;
	padding: 50px 0;
	padding-top: 90px;
	background: var(--bg-light);
}

#prices p {
	width: 60%;
	max-width: 60%;
	margin-left: auto;
	margin-right: auto;
}

#prices h3 {
	padding-top: 50px;
}

#prices table {
	width: 80%;
	margin: 0 auto 30px;
	border-collapse: collapse;
	box-shadow: var(--box-shadow);
	overflow: hidden;
	border-radius: 8px;
}

#prices thead {
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	z-index: 1;
	position: relative;
}

#prices th, #prices td {
	border: 1px solid #ddd;
	padding: 15px;
	text-align: center;
}

#prices th {
	background: var(--primary-color);
	color: #fff;
	font-weight: bold;
}

#prices td {
	background: #fff;
	color: --text-color;
}

/* === Contact Section === */
#contact {
	padding: 50px 0;
	padding-top: 90px;
	background: var(--bg-secondary);
	color: --text-color;
	text-align: center;
}

#contact h2 {
	font-size: 2rem;
	margin-bottom: 20px;
}

#contact p {
	max-width: 80%;
	margin-left: auto;
	margin-right: auto;
	font-size: 1rem;
	margin-bottom: 30px;
}

#contact form {
	max-width: 80%;
	margin: 0 auto;
	display: grid;
	gap: 20px;
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Erfolgsnachricht */
#contact form .okay-message {
    background-color: #28a745; /* Grüner Hintergrund */
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
}

/* Fehlermeldung */
#contact form .error-message {
    background-color: #dc3545; /* Roter Hintergrund */
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
}

#contact .form-group {
	display: flex;
	flex-direction: column;
}

#contact label {
	font-size: 0.9rem;
	margin-bottom: 5px;
	text-align: left;
	color: #555;
}

#contact input,
#contact textarea {
	padding: 12px 15px;
	font-size: 1.2rem;
	border: 1px solid #ddd;
	border-radius: 5px;
	outline: none;
	transition: border-color 0.3s;
}

#contact input:focus,
#contact textarea:focus {
	border-color: var(--primary-color);
}

#contact button {
	padding: 12px 20px;
	font-size: 1rem;
	background: var(--primary-color);
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.3s;
}

#contact button:hover {
	background: var(--primary-color-dark);
}

#contact .contact-details {
	margin-top: 30px;
	font-size: 1rem;
}

#contact .contact-details a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: bold;
}

#contact .contact-details a:hover {
	text-decoration: underline;
}

/* === Footer Section === */
#footer {
	background: var(--footer-bg);
	color: var(--footer-text, #fff);
	padding: 60px 20px;
	text-align: center;
}

#footer .content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
	gap: 40px;
}

#footer section {
	flex: 1 1 300px;
	margin-bottom: 20px;
	text-align: left;
}

#footer h3 {
	font-size: 1.2rem;
	margin-bottom: 15px;
	color: var(--primary-color, #007BFF);
}

#footer .contact ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#footer .contact ul li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}

#footer .contact ul li i {
	margin-right: 10px;
	font-size: 1rem;
	color: var(--primary-light, #aaa);
	margin-top: 2px;
}

#footer .contact ul li span {
	display: inline-block;
	font-weight: bold;
	color: var(--footer-text, #fff);
	min-width: 80px;
	text-align: left;
	margin-right: 10px;
}

#footer .contact ul li div {
	flex: 1;
	text-align: left;
}

#footer .contact ul li a {
	text-decoration: none;
	color: var(--footer-text, #fff);
	transition: color var(--transition-time, 0.3s);
}

#footer .contact ul li a:hover {
	color: var(--primary-hover, #0056b3);
}

#footer .contact ul li address {
	margin: 0;
	color: var(--footer-text, #fff);
	font-style: normal;
	text-align: left;
}

#footer .links ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#footer .links ul li {
	margin-bottom: 10px;
}

#footer .links ul li a {
	text-decoration: none;
	color: var(--footer-text, #fff);
	transition: color var(--transition-time, 0.3s);
}

#footer .links ul li a:hover {
	color: var(--primary-hover, #0056b3);
}

#footer .bottom {
    background-color: #333;
    color: #bbb;
    padding: 30px 0;
    text-align: center;
    font-size: 1rem;
}

#footer p.note {
	font-size: 0.8rem;
	margin-top: 30px;
}

/* === Order Section === */
#order {
	text-align: left;
	width: 80%;
	margin: 0 auto;
	padding-top: 90px;
	padding-bottom: 50px;
}

#order h1 {
	text-align: center;
	margin-bottom: 20px;
	color: var(--text-color);
}

#order form fieldset {
	margin-bottom: 20px;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 15px;
	background: var(--bg-light);
}

#order form fieldset legend {
	font-weight: bold;
	padding: 0 5px;
	color: var(--primary-color); /* Legende in Primärfarbe */
	font-size: 1.4rem;
}

#order form fieldset label {
	margin-bottom: 8px;
	font-weight: bold;
	color: var(--primary-color-dark); /* Label in dunklerer Farbe */
  display: flex;
  align-items: center;
  gap: 10px;
}

#order form fieldset input,
#order form fieldset select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  font-size: 1rem;
  color: var(--text-color);
  height: 45px;
  appearance: none;
}

#order form fieldset input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: checkbox;
}

#order form fieldset input:focus,
#order form fieldset select:focus {
	border-color: var(--primary-color);
	outline: none;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

#order form fieldset input.invalid,
#order form fieldset select.invalid {
  border: 2px solid red;
  background-color: #ffe6e6;
}

#order form fieldset input.invalid:focus,
#order form fieldset select.invalid:focus {
  outline: none;
  border-color: darkred;
  background-color: #ffcccc;
}

#order form fieldset .error-message {
	color: red;
	font-size: 0.9rem;
	margin-top: 0;
	margin-bottom: 15px;
	font-style: italic;
}

#order form button {
	display: block;
	width: 100%;
	padding: 15px;
	background: var(--primary-color);
	color: #fff;
	font-size: 1rem;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.3s ease;
}

#order form button:hover {
	background: var(--primary-hover);
}

#order form fieldset.note {
	font-size: 0.8rem;
	line-height: 1rem;
	color: var(--text-color);
	background-color: rgba(0, 89, 255, 0.1);
	border: 1px solid rgba(0, 89, 255, 0.3);
	border-radius: 5px;
	padding: 10px;
	box-shadow: 0 4px 10px rgba(0, 89, 255, 0.15);
}

#order form fieldset.note legend {
	font-weight: bold;
	padding: 0 5px;
	color: var(--text-color);
	font-size: 1.2rem;
}

#order form .btn {
	font-size: 1rem;
	padding: 15px;
	background: #28a745;
	color: #fff;
	text-align: center;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.3s ease;
}

#order form .btn:hover:not(:disabled) {
  	background: #218838;
}

#order form .btn:disabled {
	background-color: #ccc;
	color: #666;
	cursor: not-allowed;
	pointer-events: none;
}

#order .table-container {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

#order .table-container .cost-summary {
	display: block;
	width: auto;
	border-collapse: collapse;
	margin-bottom: 15px;
	text-align: left;
}

#order .cost-summary thead th {
	text-align: right;
	border-bottom: 1px solid #ddd;
	padding: 8px;
	font-weight: bold;
}

#order .cost-summary td, .cost-summary th {
	padding: 8px;
	text-align: right;
}

#order .cost-summary .cost-cell {
	text-align: right;
}

#order .cost-summary .total-header {
	text-align: right;
	border-top: 3px double #ddd;
	padding: 8px;
}

#order .cost-summary .total-cost {
	text-align: right;
	border-top: 3px double #ddd;
	padding: 8px;
	font-weight: bold;
}

#order .cost-summary .tax-breakdown {
	text-align: right;
	padding: 8px;
	font-size: 0.9rem;
	color: #555;
}

#order .cost-summary .total-weight {
	text-align: center;
	padding: 8px;
	font-size: 0.9rem;
	color: #555;
}

/* === Allgemeine Geschäftsbedingungen === */
#terms_conditions {
	text-align: left;
	width: 80%;
	margin: 0 auto;
	padding-top: 90px;
	padding-bottom: 50px;
}

#terms_conditions h1 {
	font-size: 2.5rem;
	text-align: center;
	color: var(--text-color);
	margin-bottom: 20px;
}

#terms_conditions h2 {
	font-size: 2rem;
	margin-top: 30px;
	margin-bottom: 15px;
	color: var(--text-color);
}

#terms_conditions ol {
	margin-left: 20px;
	font-size: 1.1rem;
	line-height: 1.6;
}

#terms_conditions ol li {
	margin-bottom: 10px;
}

#terms_conditions p {
	font-size: 1rem;
	line-height: 1.6;
	color: #555;
	margin-bottom: 10px;
}

#terms_conditions ul {
	margin-left: 30px;
	list-style-type: disc;
}

#terms_conditions ul li {
	margin-bottom: 10px;
	font-size: 1rem;
	color: #555;
}

#terms_conditions a {
	color: var(--primary-color);
	text-decoration: none;
}

#terms_conditions a:hover {
	text-decoration: underline;
}

/* === Datenschutzrichtlinie === */
#privacy-policy {
    text-align: left;
	width: 80%;
	margin: 0 auto;
	padding-top: 90px;
	padding-bottom: 50px;
}

#privacy-policy h1 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
}

#privacy-policy h2 {
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
}

#privacy-policy p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
	margin-bottom: 10px;
}

#privacy-policy ol {
    margin-left: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

#privacy-policy ol li {
    margin-bottom: 10px;
}

#privacy-policy ul {
    margin-left: 30px;
    list-style-type: disc;
}

#privacy-policy ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}

#privacy-policy a {
    color: var(--primary-color);
    text-decoration: none;
}

#privacy-policy a:hover {
    text-decoration: underline;
}


/* Widerrufsbelehrung und Widerrufsformular */
#cancellation-policy {
    text-align: left;
	width: 80%;
	margin: 0 auto;
	padding-top: 90px;
	padding-bottom: 50px;
}

#cancellation-policy h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center;
}

#cancellation-policy h2, #cancellation-policy h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    color: var(--text-color);
}

#cancellation-policy h3 {
    margin-bottom: 10px;
    font-weight: normal;
}

#cancellation-policy p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

#cancellation-policy ul {
    margin-bottom: 20px;
}

#cancellation-policy ul li {
    font-size: 1rem;
    color: var(--text-light);
}

#cancellation-policy p br {
    margin-bottom: 15px;
}

#cancellation-policy .underline {
    text-decoration: underline;
    font-weight: bold;
}

#cancellation-policy .important {
    font-weight: bold;
    color: #d9534f;
}

#cancellation-policy .form-container {
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#cancellation-policy .form-container p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

#cancellation-policy .form-container p input, #cancellation-policy .form-container p textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#cancellation-policy .form-container p textarea {
    height: 100px;
}

#cancellation-policy .form-container p button {
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#cancellation-policy .form-container p button:hover {
    background-color: var(--primary-hover);
}

    

/* === Responsive Anpassungen === */

@media (max-width: 1024px) {
	#navbar {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 10px;
		height: auto;
	}

	#navbar .logo {
	}

	#navbar .nav {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	#navbar .order {
		padding-right: 0;
		text-align: center;
	}

	#navbar .btn {
		width: 100%;
		max-width: 300px;
	}

	#hero .hero-content {
		width: 90%;
		padding: 20px;
	}

	#hero .hero-content h1 {
		font-size: 2rem;
	}

	#hero .hero-content p {
		font-size: 1rem;
	}

	#hero .hero-content .btn {
		max-width: 100%;
	}

	#footer .content {
		flex-direction: column;
		gap: 20px;
	}

	#footer section {
		text-align: center;
	}

	#footer .contact ul li {
		flex-direction: column;
		align-items: center;
	}

	#footer .contact ul li i {
		font-size: 1.5rem;
		margin-bottom: 10px;
	}

	#footer .links ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 15px;
	}

	#footer .bottom {
		font-size: 0.9rem;
		margin-top: 20px;
	}

	#order {
		max-width: 95%;
		margin: 20px auto;
		padding: 10px;
	}

	#order form button {
		width: 100%;
	}

	#privacy-policy {
        width: 90%;
        padding: 20px;
    }

    #privacy-policy h1 {
        font-size: 2rem;
    }

    #privacy-policy h2 {
        font-size: 1.7rem;
    }

    #privacy-policy p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
	#navbar .nav {
		flex-direction: column;
		gap: 15px;
	}

	#navbar .btn {
		font-size: 0.9rem;
		padding: 8px 10px;
	}

	#hero .hero-content h1 {
		font-size: 1.8rem;
	}

	#hero .hero-content p {
		font-size: 0.9rem;
	}

	#footer .content {
		gap: 15px;
	}

	#footer .contact ul li {
		font-size: 0.9rem;
	}

	#footer .bottom {
		font-size: 0.8rem;
	}

	#footer .links ul li {
		margin-bottom: 5px;
	}

	#footer p.note {
		font-size: 0.8rem;
	}
}