git
commit
d3ca135d9d
|
|
@ -278,11 +278,10 @@
|
|||
/* ---------- Footer ---------- */
|
||||
|
||||
.beratung-bereich .logo {
|
||||
font-family: var(--font-display);
|
||||
font-weight: 700;
|
||||
font-family: var(--font-display);;
|
||||
font-size: 1.35rem;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--foreground);
|
||||
color: var(--text-muted);
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,728 @@
|
|||
/* Dennis: Kontaktseite – Regeln sind auf .kontakt-seite begrenzt.
|
||||
Tokens entsprechen css/beratung.css (tri-hub.de-Farbwelt). */
|
||||
|
||||
.kontakt-seite {
|
||||
/* Farben – Tokens von tri-hub.de */
|
||||
--background: #0714198a;
|
||||
--background-rgb: 7 20 25;
|
||||
--background-panel: #152027;
|
||||
--text-primary: #ffffff;
|
||||
--text-muted: #9ba7aa;
|
||||
--accent: #4597A3;
|
||||
--accent-warm: #f7c230;
|
||||
--border: rgba(234, 8, 8, 0.1);
|
||||
|
||||
/* Typografie */
|
||||
--font-display: "Sora", sans-serif;
|
||||
--font-body: "DM Sans", Arial, Helvetica, sans-serif;
|
||||
|
||||
/* Layout */
|
||||
--container: 1120px;
|
||||
--radius: 1.1rem;
|
||||
}
|
||||
|
||||
/* ---------- Basic ---------- */
|
||||
|
||||
.kontakt-seite,
|
||||
.kontakt-seite *,
|
||||
.kontakt-seite::before,
|
||||
.kontakt-seite *::before,
|
||||
.kontakt-seite::after,
|
||||
.kontakt-seite *::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.kontakt-seite {
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
background-color: var(--background);
|
||||
color: var(--text-primary);
|
||||
font-family: var(--font-body);
|
||||
line-height: 1.625;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
/* Licht */
|
||||
.kontakt-seite::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
background:
|
||||
radial-gradient(900px 520px at 78% -10%, rgba(0, 179, 194, 0.13), transparent 65%),
|
||||
radial-gradient(700px 480px at -10% 30%, rgba(35, 137, 148, 0.1), transparent 60%),
|
||||
radial-gradient(600px 420px at 90% 95%, rgba(247, 194, 48, 0.05), transparent 60%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.kontakt-seite h1,
|
||||
.kontakt-seite h2,
|
||||
.kontakt-seite h3 {
|
||||
margin-top: 0;
|
||||
font-family: var(--font-display);
|
||||
color: var(--text-primary);
|
||||
line-height: 1.2;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.kontakt-seite p {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
.kontakt-seite .container {
|
||||
width: min(100% - 48px, var(--container));
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
/* ---------- Typo-Helfer ---------- */
|
||||
|
||||
.kontakt-seite .kicker {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.18em;
|
||||
text-transform: uppercase;
|
||||
color: var(--accent);
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.kontakt-seite .kicker::before {
|
||||
content: "";
|
||||
width: 28px;
|
||||
height: 2px;
|
||||
border-radius: 2px;
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
.kontakt-seite .lead {
|
||||
font-size: 1.15rem;
|
||||
color: var(--text-muted);
|
||||
max-width: 660px;
|
||||
}
|
||||
|
||||
/* ---------- Header ---------- */
|
||||
|
||||
.kontakt-seite .site-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 50;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
padding: 16px 0;
|
||||
background: rgba(7, 20, 25, 0.85);
|
||||
backdrop-filter: blur(10px);
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.kontakt-seite .site-header .container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
width: min(100% - 48px, calc(var(--container) + 48px));
|
||||
}
|
||||
|
||||
.kontakt-seite .brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.kontakt-seite .brand__logo img {
|
||||
display: block;
|
||||
height: 52px;
|
||||
width: auto;
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--border);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.kontakt-seite .brand__name {
|
||||
display: block;
|
||||
font-family: var(--font-display);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.06em;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.kontakt-seite .brand__label {
|
||||
display: block;
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.kontakt-seite .header-nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.kontakt-seite .header-nav a {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 2.75rem;
|
||||
padding: 0 14px;
|
||||
border-radius: 999px;
|
||||
color: var(--text-muted);
|
||||
text-decoration: none;
|
||||
font-size: 0.92rem;
|
||||
transition: background-color 0.15s ease, color 0.15s ease;
|
||||
}
|
||||
|
||||
.kontakt-seite .header-nav a:hover {
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.kontakt-seite .header-nav a.nav-back {
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
/* ---------- Hero ---------- */
|
||||
|
||||
.kontakt-seite .hero {
|
||||
padding: 72px 0 88px;
|
||||
}
|
||||
|
||||
.kontakt-seite .hero__grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 48px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.kontakt-seite .hero h1 {
|
||||
font-size: clamp(2.6rem, 6vw, 4rem);
|
||||
font-weight: 500;
|
||||
letter-spacing: -0.04em;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.kontakt-seite .hero__text {
|
||||
font-size: 1.15rem;
|
||||
color: var(--text-muted);
|
||||
max-width: 560px;
|
||||
}
|
||||
|
||||
.kontakt-seite .hero__image {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: calc(var(--radius) + 1rem);
|
||||
border: 1px solid var(--border);
|
||||
box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
.hero--ribbon {
|
||||
position: relative;
|
||||
background-image: url("../images/trihub-ribbon-abstract.webp");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-color: var(--background); /* Fallback / Grundton */
|
||||
isolation: isolate; /* hält z-index sauber */
|
||||
}
|
||||
|
||||
.hero--ribbon::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background:
|
||||
linear-gradient(0deg, rgb(var(--background-rgb) / 96%), transparent 42%),
|
||||
linear-gradient(90deg, rgb(var(--background-rgb) / 94%) 0%, rgb(var(--background-rgb) / 79%) 35%, rgb(var(--background-rgb) / 38%) 72%, rgb(var(--background-rgb) / 25%) 100%);
|
||||
content: ""; /* dunkler Schleier */
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero--ribbon .hero__grid {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* ---------- Sektionen ---------- */
|
||||
|
||||
.kontakt-seite .section {
|
||||
padding: 88px 0;
|
||||
}
|
||||
|
||||
.kontakt-seite .section + .section {
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.kontakt-seite .section-head {
|
||||
max-width: 720px;
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.kontakt-seite .section-head h2 {
|
||||
font-size: clamp(1.9rem, 4vw, 2.7rem);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
/* ---------- Karten (Nachricht) ---------- */
|
||||
|
||||
.kontakt-seite .cards-3 {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.kontakt-seite .card {
|
||||
background-color: var(--background-panel);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: calc(var(--radius) + 0.4rem);
|
||||
padding: 28px;
|
||||
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.kontakt-seite .card__icon {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
margin-bottom: 16px;
|
||||
border-radius: 12px;
|
||||
font-size: 1.5rem;
|
||||
background: rgba(69, 151, 163, 0.2);
|
||||
}
|
||||
|
||||
.kontakt-seite .card--warm .card__icon {
|
||||
background: rgba(247, 194, 48, 0.16);
|
||||
}
|
||||
|
||||
.kontakt-seite .card--neutral .card__icon {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.kontakt-seite .card h3 {
|
||||
font-size: 1.08rem;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.kontakt-seite .card p {
|
||||
margin: 0;
|
||||
color: var(--text-muted);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
/* ---------- Formular + Kontaktinfos ---------- */
|
||||
|
||||
.kontakt-seite .kontakt-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 48px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.kontakt-seite form {
|
||||
margin-top: 32px;
|
||||
display: grid;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.kontakt-seite .field label {
|
||||
display: block;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.kontakt-seite .field input,
|
||||
.kontakt-seite .field select,
|
||||
.kontakt-seite .field textarea {
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--border);
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
color: var(--text-primary);
|
||||
font-family: var(--font-body);
|
||||
font-size: 0.95rem;
|
||||
transition: border-color 0.15s ease, background-color 0.15s ease;
|
||||
}
|
||||
|
||||
.kontakt-seite .field input::placeholder,
|
||||
.kontakt-seite .field textarea::placeholder {
|
||||
color: rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
|
||||
.kontakt-seite .field input:focus,
|
||||
.kontakt-seite .field select:focus,
|
||||
.kontakt-seite .field textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent);
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.kontakt-seite .field select option {
|
||||
background: #0b1a20;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.kontakt-seite .field textarea {
|
||||
min-height: 140px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.kontakt-seite .field input.invalid,
|
||||
.kontakt-seite .field select.invalid,
|
||||
.kontakt-seite .field textarea.invalid {
|
||||
border-color: #ef4444;
|
||||
}
|
||||
|
||||
.kontakt-seite .field input.valid,
|
||||
.kontakt-seite .field textarea.valid {
|
||||
border-color: #22c55e;
|
||||
}
|
||||
|
||||
.kontakt-seite .field__error {
|
||||
display: none;
|
||||
margin-top: 6px;
|
||||
font-size: 0.8rem;
|
||||
color: #f87171;
|
||||
}
|
||||
|
||||
.kontakt-seite .field__hint {
|
||||
display: none;
|
||||
margin-top: 6px;
|
||||
font-size: 0.8rem;
|
||||
color: #4ade80;
|
||||
}
|
||||
|
||||
.kontakt-seite .field.has-error .field__error {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.kontakt-seite .field.is-ok .field__hint {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* ---------- Button ---------- */
|
||||
|
||||
.kontakt-seite .btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.8rem 1.5rem;
|
||||
border-radius: 999px;
|
||||
font-family: var(--font-body);
|
||||
font-weight: 600;
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.2;
|
||||
text-decoration: none;
|
||||
border: 1px solid transparent;
|
||||
cursor: pointer;
|
||||
transition: transform 0.18s ease, box-shadow 0.18s ease,
|
||||
background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
|
||||
}
|
||||
|
||||
.kontakt-seite .btn-accent {
|
||||
background: var(--accent);
|
||||
color: #03242b;
|
||||
}
|
||||
|
||||
.kontakt-seite .btn-accent:hover:not(:disabled) {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 10px 28px rgba(0, 179, 194, 0.28);
|
||||
}
|
||||
|
||||
.kontakt-seite .btn-block {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.kontakt-seite .btn:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.kontakt-seite .form-status {
|
||||
display: none;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.kontakt-seite .form-status.is-visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.kontakt-seite .form-status--ok {
|
||||
color: #4ade80;
|
||||
}
|
||||
|
||||
.kontakt-seite .form-status--error {
|
||||
color: #f87171;
|
||||
}
|
||||
|
||||
/* ---------- Kontaktinformations-Karten ---------- */
|
||||
|
||||
.kontakt-seite .info-stack {
|
||||
display: grid;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.kontakt-seite .info-card {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
background-color: var(--background-panel);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: calc(var(--radius) + 0.4rem);
|
||||
padding: 22px;
|
||||
transition: border-color 0.15s ease;
|
||||
}
|
||||
|
||||
.kontakt-seite .info-card:hover {
|
||||
border-color: rgba(69, 151, 163, 0.5);
|
||||
}
|
||||
|
||||
.kontakt-seite .info-card__icon {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
flex-shrink: 0;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin-top: 2px;
|
||||
border-radius: 10px;
|
||||
background: rgba(69, 151, 163, 0.2);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.kontakt-seite .info-card__label {
|
||||
font-size: 0.7rem;
|
||||
letter-spacing: 0.2em;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.kontakt-seite .info-card a,
|
||||
.kontakt-seite .info-card p {
|
||||
color: var(--text-primary);
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.kontakt-seite .info-card a:hover {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.kontakt-seite .info-card p small,
|
||||
.kontakt-seite .info-card p.info-sub {
|
||||
display: block;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 400;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* ---------- Socials ---------- */
|
||||
|
||||
.kontakt-seite .socials {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.kontakt-seite .socials a {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--border);
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
color: var(--text-primary);
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
font-size: 0.8rem;
|
||||
transition: border-color 0.15s ease, background-color 0.15s ease;
|
||||
}
|
||||
|
||||
.kontakt-seite .socials a:hover {
|
||||
border-color: var(--accent);
|
||||
background: rgba(69, 151, 163, 0.12);
|
||||
}
|
||||
|
||||
/* ---------- Standort / Karte ---------- */
|
||||
|
||||
.kontakt-seite .map-frame {
|
||||
border-radius: calc(var(--radius) + 0.9rem);
|
||||
border: 1px solid var(--border);
|
||||
overflow: hidden;
|
||||
height: 500px;
|
||||
background: var(--background-panel);
|
||||
}
|
||||
|
||||
.kontakt-seite .map-frame iframe {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* ---------- Footer ---------- */
|
||||
|
||||
.kontakt-seite .logo {
|
||||
font-family: var(--font-display);
|
||||
font-size: 1.35rem;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--text-muted);
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.kontakt-seite .logo span {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.kontakt-seite .site-footer {
|
||||
margin-top: 96px;
|
||||
padding: 64px 0 40px;
|
||||
border-top: 1px solid var(--border);
|
||||
background: rgba(255, 255, 255, 0.015);
|
||||
}
|
||||
|
||||
.kontakt-seite .footer-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1fr 1fr;
|
||||
gap: 48px;
|
||||
}
|
||||
|
||||
.kontakt-seite .footer-brand p {
|
||||
color: var(--text-muted);
|
||||
font-size: 0.95rem;
|
||||
max-width: 340px;
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.kontakt-seite .footer-col h3 {
|
||||
font-size: 0.85rem;
|
||||
letter-spacing: 0.14em;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.kontakt-seite .footer-col ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.kontakt-seite .footer-col a {
|
||||
display: block;
|
||||
padding: 5px 0;
|
||||
color: var(--text-muted);
|
||||
text-decoration: none;
|
||||
font-size: 0.92rem;
|
||||
transition: color 0.15s ease;
|
||||
}
|
||||
|
||||
.kontakt-seite .footer-col a:hover {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.kontakt-seite .footer-legal {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-top: 48px;
|
||||
padding-top: 24px;
|
||||
border-top: 1px solid var(--border);
|
||||
color: var(--text-muted);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.kontakt-seite .footer-legal a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.kontakt-seite .footer-legal a:hover {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
/* ---------- Scroll-Reveal ---------- */
|
||||
|
||||
.kontakt-seite .reveal {
|
||||
opacity: 0;
|
||||
transform: translateY(18px);
|
||||
transition: opacity 0.6s ease, transform 0.6s ease;
|
||||
}
|
||||
|
||||
.kontakt-seite .reveal.visible {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/* ---------- Responsiv ---------- */
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.kontakt-seite .hero__grid,
|
||||
.kontakt-seite .kontakt-grid {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.kontakt-seite .cards-3 {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.kontakt-seite .footer-grid {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.kontakt-seite .section {
|
||||
padding: 64px 0;
|
||||
}
|
||||
|
||||
.kontakt-seite .hero {
|
||||
padding: 56px 0 64px;
|
||||
}
|
||||
|
||||
.kontakt-seite .footer-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.kontakt-seite .site-header .container {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.kontakt-seite .map-frame {
|
||||
height: 380px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- Reduzierte Bewegung ---------- */
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.kontakt-seite {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
|
||||
.kontakt-seite .reveal {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.kontakt-seite,
|
||||
.kontakt-seite * {
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,244 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Kontakt | Ernährungsberatung für Triathleten | tri-hub</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=DM+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Sora:wght@400;600;700&display=swap"
|
||||
rel="stylesheet">
|
||||
<link rel="stylesheet" href="../css/site.css">
|
||||
<link rel="stylesheet" href="../css/kontakt.css">
|
||||
<script src="../js/kontakt.js" defer></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="kontakt-seite">
|
||||
<!-- Header -->
|
||||
<header class="site-header">
|
||||
<div class="container">
|
||||
<a class="brand" href="../index.html">
|
||||
<span class="brand__logo">
|
||||
<img src="../images/trihub-logo.jpg" alt="Trihub – fit und vital ab 50!" width="1024" height="1024">
|
||||
</span>
|
||||
<span class="brand__text">
|
||||
<span class="brand__name">TRI-HUB</span>
|
||||
<span class="brand__label">Kontakt & Unterstützung</span>
|
||||
</span>
|
||||
</a>
|
||||
<nav class="header-nav" aria-label="Seitennavigation">
|
||||
<a href="#nachricht">Nachricht</a>
|
||||
<a href="#kontaktinfos">Kontaktinfos</a>
|
||||
<a href="#standort">Standort</a>
|
||||
<a class="nav-back" href="../index.html">Zurück zur Übersicht</a>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main id="main-content">
|
||||
<!-- Hero -->
|
||||
<section class="hero hero--ribbon">
|
||||
<div class="container hero__grid">
|
||||
<div class="reveal">
|
||||
<span class="kicker">Kontakt</span>
|
||||
<h1>Von der Frage zur richtigen Strategie</h1>
|
||||
<p class="hero__text">
|
||||
Du möchtest mehr über unsere Ernährungsberatung erfahren oder hast konkrete Fragen?
|
||||
Nimm Kontakt mit uns auf - gemeinsam finden wir heraus, was für dich und deine Ziele am besten passt. Wir freuen uns auf deine Nachricht!
|
||||
</p>
|
||||
</div>
|
||||
<div class="reveal">
|
||||
<img class="hero__image" src="../images/contact-support-trihub.png"
|
||||
alt="Gruppe beim Radfahren und Laufen in einer Berglandschaft im Abendlicht" width="1920"
|
||||
height="1080">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Nachricht: drei Karten -->
|
||||
<section id="nachricht" class="section">
|
||||
<div class="container">
|
||||
<div class="cards-3">
|
||||
<div class="card reveal">
|
||||
<div class="card__icon" aria-hidden="true">💬</div>
|
||||
<h3>Persönlicher Austausch</h3>
|
||||
<p>Wir nehmen uns Zeit für deine Fragen und Anliegen – schnell und unkompliziert.</p>
|
||||
</div>
|
||||
<div class="card card--warm reveal">
|
||||
<div class="card__icon" aria-hidden="true">⚡</div>
|
||||
<h3>Schnelle Antworten</h3>
|
||||
<p>Deine Fragen beantworten wir zeitnah – per Mail, Telefon oder persönlich.</p>
|
||||
</div>
|
||||
<div class="card card--neutral reveal">
|
||||
<div class="card__icon" aria-hidden="true">🤝</div>
|
||||
<h3>Echte Beziehung</h3>
|
||||
<p>Für uns zählt nicht nur die Antwort – sondern der Mensch hinter der Frage.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Kontaktinfos: Formular + Kontaktdaten -->
|
||||
<section id="kontaktinfos" class="section">
|
||||
<div class="container kontakt-grid">
|
||||
<div class="reveal">
|
||||
<span class="kicker">Nachricht</span>
|
||||
<h2>Schreib uns eine Nachricht</h2>
|
||||
|
||||
<form id="kontakt-formular" novalidate>
|
||||
<div class="field">
|
||||
<label for="kf-name">Name *</label>
|
||||
<input type="text" id="kf-name" name="name" placeholder="Dein Name" required>
|
||||
<p class="field__error">Bitte gib deinen Namen an.</p>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="kf-email">Email *</label>
|
||||
<input type="email" id="kf-email" name="email" placeholder="deine@email.de" required>
|
||||
<p class="field__error">Bitte gib eine gültige E-Mail-Adresse an.</p>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="kf-phone">Telefon</label>
|
||||
<input type="tel" id="kf-phone" name="phone" placeholder="06203/1764877">
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="kf-type">Anfrage-Typ *</label>
|
||||
<select id="kf-type" name="anfragetyp" required>
|
||||
<option value="" selected disabled>Bitte wählen …</option>
|
||||
<option value="ernaehrungsberatung">Ernährungsberatung anfragen</option>
|
||||
<option value="kennenlerngespraech">Kennenlerngespräch vereinbaren</option>
|
||||
<option value="allgemein">Allgemeine Fragen</option>
|
||||
</select>
|
||||
<p class="field__error">Bitte wähle einen Anfrage-Typ.</p>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="kf-subject">Betreff *</label>
|
||||
<input type="text" id="kf-subject" name="betreff" placeholder="Worum geht es?" required>
|
||||
<p class="field__error">Bitte gib einen kurzen Betreff an.</p>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="kf-message">Nachricht * (mind. 10 Zeichen)</label>
|
||||
<textarea id="kf-message" name="nachricht" rows="5" placeholder="Deine Nachricht…" required></textarea>
|
||||
<p class="field__error">Bitte beschreibe dein Anliegen in wenigen Sätzen.</p>
|
||||
<p class="field__hint">✓ Nachricht ist lang genug</p>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-accent btn-block" disabled>Nachricht senden</button>
|
||||
<p id="form-status" class="form-status" role="status" aria-live="polite"></p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="reveal">
|
||||
<h3 style="font-size: 1.25rem; margin-bottom: 24px;">Kontaktinformationen</h3>
|
||||
<div class="info-stack">
|
||||
<div class="info-card">
|
||||
<div class="info-card__icon" aria-hidden="true">✉</div>
|
||||
<div>
|
||||
<p class="info-card__label">Allgemeine Fragen & Beratung</p>
|
||||
<a href="mailto:info@trihub.de">info@trihub.de</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="info-card">
|
||||
<div class="info-card__icon" aria-hidden="true">✆</div>
|
||||
<div>
|
||||
<p class="info-card__label">Telefon</p>
|
||||
<a href="tel:+4962031764877">06203 / 1764877</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="info-card">
|
||||
<div class="info-card__icon" aria-hidden="true">⚲</div>
|
||||
<div>
|
||||
<p class="info-card__label">Adresse</p>
|
||||
<p>Schloßstr. 11
|
||||
<span class="info-sub">68535 Edingen-Neckarhausen</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="info-card">
|
||||
<div>
|
||||
<p class="info-card__label" style="margin-bottom: 12px;">Folge uns auf</p>
|
||||
<div class="socials">
|
||||
<a href="https://www.facebook.com/profile.php?id=61569002603339" target="_blank"
|
||||
rel="noopener noreferrer" aria-label="Tri-hub auf Facebook">FB</a>
|
||||
<a href="https://www.linkedin.com/company/tri-hub-gmbh" target="_blank"
|
||||
rel="noopener noreferrer" aria-label="Tri-hub auf LinkedIn">IN</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Standort -->
|
||||
<section id="standort" class="section">
|
||||
<div class="container">
|
||||
<div class="reveal">
|
||||
<span class="kicker">Standort</span>
|
||||
<h2 style="margin-bottom: 32px;">Unser Standort</h2>
|
||||
<div class="map-frame">
|
||||
<iframe
|
||||
title="Karte: Tri-hub, Schloßstr. 11, 68535 Edingen-Neckarhausen"
|
||||
src="https://www.openstreetmap.org/export/embed.html?bbox=8.5958662%2C49.4613437%2C8.6038662%2C49.4673437&layer=mapnik&marker=49.4643437%2C8.5998662"
|
||||
loading="lazy"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="site-footer">
|
||||
<div class="container">
|
||||
<div class="footer-grid">
|
||||
<div class="footer-brand">
|
||||
<a class="logo" href="https://tri-hub.de/">TRI-HUB</a>
|
||||
<p>Triathlon ab 50 – Coaching, Wissen und Begleitung für Best Ager. Hier: der neue Bereich
|
||||
Ernährungsberatung.</p>
|
||||
</div>
|
||||
|
||||
<div class="footer-col">
|
||||
<h3>Dieser Bereich</h3>
|
||||
<ul>
|
||||
<li><a href="../index.html#beratung">Ablauf der Beratung</a></li>
|
||||
<li><a href="#kontaktinfos">Kontakt</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="footer-col">
|
||||
<h3>Tri-hub</h3>
|
||||
<ul>
|
||||
<li><a href="https://tri-hub.de/">Start</a></li>
|
||||
<li><a href="https://tri-hub.de/coaching-1zu1">1:1 Coaching</a></li>
|
||||
<li><a href="https://tri-hub.de/camps-schwarzwald">Camps Schwarzwald</a></li>
|
||||
<li><a href="https://tri-hub.de/webinare-workshops">Webinare & Workshops</a></li>
|
||||
<li><a href="https://tri-hub.de/wissen">Wissen</a></li>
|
||||
<li><a href="https://tri-hub.de/kontakt">Kontakt</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer-legal">
|
||||
<span>© 2026 Tri-hub GmbH</span>
|
||||
<span>
|
||||
<a href="https://tri-hub.de/impressum">Impressum</a> ·
|
||||
<a href="https://tri-hub.de/datenschutz">Datenschutz</a> ·
|
||||
<a href="https://tri-hub.de/agb">AGB</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
|
|
@ -194,26 +194,24 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="container" id="kontakt">
|
||||
<div class="cta-band reveal">
|
||||
<h2>Bereit für deinen nächsten Schritt?</h2>
|
||||
<p>Vereinbare ein unverbindliches Kennenlerngespräch – wir schauen gemeinsam, ob die Beratung zu
|
||||
dir
|
||||
passt.</p>
|
||||
<a class="btn btn-primary"
|
||||
href="mailto:info@trihub.de?subject=Ernaehrungsberatung%20-%20Kennenlerngespraech">Jetzt
|
||||
unverbindlich anfragen</a>
|
||||
<a class="btn btn-primary" href="../trihub-ernaehrung-advinters/html/kontakt.html">Jetzt unverbindlich anfragen</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
<footer class="site-footer">
|
||||
<div class="container">
|
||||
<div class="footer-grid">
|
||||
<div class="footer-brand">
|
||||
<a class="logo" href="https://tri-hub.de/">Tri<span>-hub</span></a>
|
||||
<a class="logo" href="https://tri-hub.de/">TRI-HUB</a>
|
||||
<p>Triathlon ab 50 – Coaching, Wissen und Begleitung für Best Ager. Hier: der neue Bereich
|
||||
Ernährungsberatung.</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,195 @@
|
|||
// Dennis: Kontaktseite – Scroll-Reveal und Formular-Logik.
|
||||
|
||||
// ----- Scroll-Reveal -----
|
||||
(function () {
|
||||
const elements = document.querySelectorAll(".kontakt-seite .reveal");
|
||||
if (!elements.length) return;
|
||||
|
||||
const reduceMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
||||
|
||||
if (reduceMotion || !("IntersectionObserver" in window)) {
|
||||
elements.forEach(function (el) {
|
||||
el.classList.add("visible");
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
const observer = new IntersectionObserver(
|
||||
function (entries) {
|
||||
entries.forEach(function (entry) {
|
||||
if (entry.isIntersecting) {
|
||||
entry.target.classList.add("visible");
|
||||
observer.unobserve(entry.target);
|
||||
}
|
||||
});
|
||||
},
|
||||
{ threshold: 0.12, rootMargin: "0px 0px -40px 0px" }
|
||||
);
|
||||
|
||||
elements.forEach(function (el) {
|
||||
observer.observe(el);
|
||||
});
|
||||
})();
|
||||
|
||||
// ----- Kontaktformular -----
|
||||
(function () {
|
||||
const form = document.getElementById("kontakt-formular");
|
||||
if (!form) return;
|
||||
|
||||
const MIN_MESSAGE = 10;
|
||||
const EMAIL_TARGET = "info@trihub.de";
|
||||
|
||||
const fields = {
|
||||
name: form.querySelector("[name='name']"),
|
||||
email: form.querySelector("[name='email']"),
|
||||
phone: form.querySelector("[name='phone']"),
|
||||
type: form.querySelector("[name='anfragetyp']"),
|
||||
subject: form.querySelector("[name='betreff']"),
|
||||
message: form.querySelector("[name='nachricht']")
|
||||
};
|
||||
|
||||
const statusEl = document.getElementById("form-status");
|
||||
|
||||
function wrap(el) {
|
||||
return el.closest(".field");
|
||||
}
|
||||
|
||||
function setFieldState(el, state) {
|
||||
const box = wrap(el);
|
||||
if (!box) return;
|
||||
box.classList.remove("has-error", "is-ok");
|
||||
el.classList.remove("invalid", "valid");
|
||||
if (state === "error") {
|
||||
box.classList.add("has-error");
|
||||
el.classList.add("invalid");
|
||||
} else if (state === "ok") {
|
||||
box.classList.add("is-ok");
|
||||
el.classList.add("valid");
|
||||
}
|
||||
}
|
||||
|
||||
function validateName() {
|
||||
const ok = fields.name.value.trim().length > 0;
|
||||
setFieldState(fields.name, ok ? null : "error");
|
||||
return ok;
|
||||
}
|
||||
|
||||
function validateEmail() {
|
||||
const value = fields.email.value.trim();
|
||||
const ok = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(value);
|
||||
setFieldState(fields.email, ok ? null : "error");
|
||||
return ok;
|
||||
}
|
||||
|
||||
function validateType() {
|
||||
const ok = fields.type.value !== "";
|
||||
setFieldState(fields.type, ok ? null : "error");
|
||||
return ok;
|
||||
}
|
||||
|
||||
function validateSubject() {
|
||||
const ok = fields.subject.value.trim().length > 0;
|
||||
setFieldState(fields.subject, ok ? null : "error");
|
||||
return ok;
|
||||
}
|
||||
|
||||
function validateMessage() {
|
||||
const len = fields.message.value.trim().length;
|
||||
if (len === 0) {
|
||||
setFieldState(fields.message, "error");
|
||||
return false;
|
||||
}
|
||||
if (len >= MIN_MESSAGE) {
|
||||
setFieldState(fields.message, "ok");
|
||||
return true;
|
||||
}
|
||||
// Zu kurz: erst bei Submit als Fehler markieren, live nur grün bei erfüllt.
|
||||
setFieldState(fields.message, null);
|
||||
return false;
|
||||
}
|
||||
|
||||
function allValid() {
|
||||
return (
|
||||
fields.name.value.trim().length > 0 &&
|
||||
/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(fields.email.value.trim()) &&
|
||||
fields.type.value !== "" &&
|
||||
fields.subject.value.trim().length > 0 &&
|
||||
fields.message.value.trim().length >= MIN_MESSAGE
|
||||
);
|
||||
}
|
||||
|
||||
function updateSubmitState() {
|
||||
const submit = form.querySelector("[type='submit']");
|
||||
if (submit) {
|
||||
submit.disabled = !allValid();
|
||||
}
|
||||
}
|
||||
|
||||
// Live-Feedback: Nachricht wird bei 10+ Zeichen grün markiert.
|
||||
fields.message.addEventListener("input", function () {
|
||||
validateMessage();
|
||||
updateSubmitState();
|
||||
});
|
||||
|
||||
["name", "email", "subject"].forEach(function (key) {
|
||||
fields[key].addEventListener("blur", function () {
|
||||
if (fields[key].value.trim() !== "" || form.dataset.touched === "true") {
|
||||
({ name: validateName, email: validateEmail, subject: validateSubject })[key]();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
fields.type.addEventListener("change", validateType);
|
||||
|
||||
form.addEventListener("submit", function (event) {
|
||||
event.preventDefault();
|
||||
form.dataset.touched = "true";
|
||||
|
||||
const okName = validateName();
|
||||
const okEmail = validateEmail();
|
||||
const okType = validateType();
|
||||
const okSubject = validateSubject();
|
||||
const okMessage = validateMessage();
|
||||
|
||||
if (!(okName && okEmail && okType && okSubject && okMessage)) {
|
||||
showStatus("error", "Bitte überprüfe die markierten Felder und versuche es erneut.");
|
||||
return;
|
||||
}
|
||||
|
||||
const subject = fields.subject.value.trim();
|
||||
const typeLabel = fields.type.options[fields.type.selectedIndex].text;
|
||||
const body = [
|
||||
"Name: " + fields.name.value.trim(),
|
||||
"E-Mail: " + fields.email.value.trim(),
|
||||
"Telefon: " + (fields.phone.value.trim() || "–"),
|
||||
"Anfrage-Typ: " + typeLabel,
|
||||
"",
|
||||
fields.message.value.trim()
|
||||
].join("\n");
|
||||
|
||||
// Statische Seite ohne Backend: E-Mail-Programm wird mit allen Angaben geöffnet.
|
||||
window.location.href =
|
||||
"mailto:" + EMAIL_TARGET +
|
||||
"?subject=" + encodeURIComponent("Ernährungsberatung – " + subject) +
|
||||
"&body=" + encodeURIComponent(body);
|
||||
|
||||
showStatus(
|
||||
"ok",
|
||||
"Danke! Dein E-Mail-Programm wurde geöffnet. Sende die Nachricht ab – wir melden uns zeitnah bei dir."
|
||||
);
|
||||
form.reset();
|
||||
Object.values(fields).forEach(function (el) {
|
||||
setFieldState(el, null);
|
||||
});
|
||||
updateSubmitState();
|
||||
});
|
||||
|
||||
function showStatus(kind, text) {
|
||||
if (!statusEl) return;
|
||||
statusEl.textContent = kind === "ok" ? "✓ " + text : "✗ " + text;
|
||||
statusEl.className =
|
||||
"form-status is-visible " + (kind === "ok" ? "form-status--ok" : "form-status--error");
|
||||
}
|
||||
|
||||
updateSubmitState();
|
||||
})();
|
||||
Loading…
Reference in New Issue