trihub-ernaehrung-backseatDevs/paket-details.html

373 lines
7.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!doctype html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="/src/styles/navigation.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="noindex" />
<title>Paket-Details – Tri-Hub Ernährungsberatung</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap"
rel="stylesheet" />
<style>
:root {
--page-bg: #0d0d1a;
--page-bg-2: #1a1a2e;
--green: #10b981;
--green-dark: #059669;
--white: #ffffff;
--light: #f8fafc;
--muted: #94a3b8;
--line: rgba(248, 250, 252, 0.12);
--panel: rgba(255, 255, 255, 0.045);
--panel-strong: rgba(255, 255, 255, 0.065);
--max: 1180px;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
min-width: 320px;
color: var(--light);
background:
radial-gradient(circle at 12% 0%, rgba(16, 185, 129, 0.09), transparent 30%),
radial-gradient(circle at 88% 26%, rgba(16, 185, 129, 0.055), transparent 27%),
linear-gradient(145deg, var(--page-bg), var(--page-bg-2));
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
line-height: 1.6;
}
a {
color: inherit;
text-decoration: none;
}
h1,
h2,
h3 {
margin: 0;
font-family: "Playfair Display", Georgia, sans-serif;
font-weight: 600;
letter-spacing: -0.025em;
line-height: 1.05;
}
p {
margin: 0;
}
.container {
width: min(var(--max), calc(100% - 40px));
margin: 0 auto;
}
.section {
padding: 96px 0;
}
.breadcrumb {
padding: 2rem 0 1rem;
color: var(--muted);
font-size: 0.9rem;
}
.breadcrumb a {
color: var(--green);
transition: color 0.2s ease;
font-weight: 500;
}
.breadcrumb a:hover {
color: var(--white);
}
.detail-header {
padding: 2rem 0 3rem;
border-bottom: 1px solid var(--line);
margin-bottom: 3rem;
}
.detail-badge {
display: inline-block;
color: var(--green);
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
margin-bottom: 1.5rem;
}
.detail-header h1 {
font-size: clamp(2.4rem, 4.8vw, 4.5rem);
margin-bottom: 1.2rem;
}
.detail-subtitle {
color: var(--muted);
font-size: 1.15rem;
line-height: 1.8;
max-width: 700px;
}
.detail-grid {
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 5rem;
}
.detail-main {
max-width: 700px;
}
.price-box {
background: var(--panel);
border: 1px solid var(--line);
border-radius: 22px;
padding: 2.5rem;
margin-bottom: 2.5rem;
}
.price-amount {
display: block;
font-family: "Playfair Display", Georgia, sans-serif;
font-size: 3.5rem;
font-weight: 700;
color: var(--green);
margin-bottom: 0.5rem;
line-height: 1;
}
.price-note {
display: block;
color: var(--muted);
font-size: 0.9rem;
}
.detail-section {
margin-bottom: 3.5rem;
}
.detail-section h2 {
font-family: "Inter", sans-serif;
font-size: 1.3rem;
margin-bottom: 1.5rem;
color: var(--white);
}
.detail-list {
list-style: none;
padding: 0;
margin: 0;
}
.detail-list li {
padding-left: 2rem;
margin-bottom: 1.2rem;
position: relative;
color: var(--muted);
line-height: 1.7;
font-size: 1rem;
}
.detail-list li:before {
content: "";
position: absolute;
left: 0;
top: 8px;
width: 8px;
height: 8px;
background: var(--green);
border-radius: 50%;
box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}
.process-step {
margin-bottom: 1.5rem;
padding: 1.5rem;
border: 1px solid var(--line);
border-radius: 16px;
background: var(--panel);
}
.process-step strong {
display: block;
color: var(--white);
font-weight: 600;
font-size: 1.05rem;
margin-bottom: 0.5rem;
}
.process-step p {
color: var(--muted);
font-size: 0.95rem;
line-height: 1.6;
}
.detail-sidebar {
display: flex;
flex-direction: column;
gap: 2rem;
}
.variant-box {
background: var(--panel);
border: 1px solid var(--line);
border-radius: 16px;
padding: 2rem;
}
.variant-box label {
display: block;
color: var(--white);
font-weight: 600;
font-size: 0.9rem;
margin-bottom: 0.75rem;
}
/* Select matches the Input styles from ernaehrung.html */
.variant-box select {
width: 100%;
height: 48px;
padding: 0 14px;
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 12px;
outline: 0;
color: var(--white);
background: rgba(13, 13, 26, 0.78);
font: inherit;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
cursor: pointer;
}
.variant-box select:focus {
border-color: rgba(16, 185, 129, 0.75);
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.button {
display: inline-flex;
min-height: 48px;
align-items: center;
justify-content: center;
padding: 0 24px;
border-radius: 999px;
border: 1px solid transparent;
font-size: 0.95rem;
font-weight: 700;
cursor: pointer;
text-decoration: none;
transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.button:hover {
transform: translateY(-2px);
}
.button-primary {
color: #06130f;
background: var(--green);
box-shadow: 0 14px 32px rgba(16, 185, 129, 0.18);
}
.button-primary:hover {
background: #34d399;
}
.button-secondary {
color: var(--light);
border-color: rgba(148, 163, 184, 0.25);
background: rgba(255, 255, 255, 0.025);
}
.button-secondary:hover {
border-color: rgba(16, 185, 129, 0.55);
background: rgba(16, 185, 129, 0.08);
}
.button-full {
width: 100%;
min-height: 54px;
font-size: 1rem;
}
@media (max-width: 900px) {
.detail-grid {
grid-template-columns: 1fr;
gap: 3rem;
}
.detail-header h1 {
font-size: 2.8rem;
}
.section {
padding: 64px 0;
}
}
@media (max-width: 600px) {
.container {
width: min(var(--max), calc(100% - 28px));
}
.section {
padding: 48px 0;
}
.detail-header {
padding: 1rem 0 2rem;
margin-bottom: 2rem;
}
.detail-header h1 {
font-size: 2.2rem;
}
.detail-subtitle {
font-size: 1rem;
}
.price-amount {
font-size: 2.8rem;
}
.price-box {
padding: 1.5rem;
}
}
</style>
</head>
<body>
<div id="navbar-placeholder"></div>
<main id="main-content">
<section class="section">
<div class="container">
<div class="breadcrumb">
<a href="/angebotsuebersicht.html">← Zurück zur Übersicht</a>
</div>
<div id="package-detail-container"></div>
</div>
</section>
</main>
<script type="module" src="/src/components/navigationsbar/navigation.js"></script>
<script type="module" src="/src/features/angebote/paket-details.js"></script>
</body>
</html>