/* HEB Bauelemente — Tokens und Komponenten. Entscheidungen: siehe DESIGN.md */ @font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400.woff2") format("woff2"); } @font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500.woff2") format("woff2"); } @font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600.woff2") format("woff2"); } @font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600.woff2") format("woff2"); } @font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700.woff2") format("woff2"); } :root { --blue: #00569d; /* exakt aus dem HEB-Logo */ --blue-d: #00437a; --blue-l: #e7eff7; --sky: #7cbcf0; /* Blau auf dunklem Grund */ --amber: #f2ad33; /* nur für die 24-h-Uhr */ --ink: #14202c; --text: #2d3843; --muted: #5d6a77; --paper: #f4f2ed; --white: #fff; --steel: #1a232c; --steel-2: #253039; --line: #dcd8cf; --line-dark: rgba(255, 255, 255, .14); --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif; --f-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif; --gutter: clamp(16px, 4vw, 40px); --max: 1200px; --r: 4px; --header-h: 72px; --ease: cubic-bezier(.2, .7, .2, 1); } *, *::before, *::after { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); } body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; } img { display: block; max-width: 100%; height: auto; } picture { display: block; } a { color: inherit; } h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--f-head); font-weight: 700; line-height: 1.02; letter-spacing: -.005em; } p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; } address { font-style: normal; } button { font: inherit; color: inherit; } :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; } .section--dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--sky); } .wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); } .skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--blue); color: #fff; text-decoration: none; border-radius: var(--r); } .skip-link:focus { top: 12px; } .i { width: 1.15em; height: 1.15em; flex: none; } /* ---------- Typo-Bausteine ---------- */ .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--blue); font: 600 .8125rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; } .eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; } .eyebrow--light { color: var(--sky); } .h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); } .h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: .5em; } .lead { max-width: 60ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); } .section--dark .lead { color: rgba(255, 255, 255, .72); } .link { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; } .link:hover { text-decoration-thickness: 2px; } .link--icon { display: inline-flex; align-items: center; gap: 6px; } /* ---------- Buttons ---------- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--r); font: 600 1.0625rem/1 var(--f-body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); } .btn .i:last-child:not(:first-child) { transition: transform .25s var(--ease); } .btn:hover .i:last-child:not(:first-child) { transform: translateX(4px); } .btn--blue { background: var(--blue); color: #fff; } .btn--blue:hover { background: var(--blue-d); } .btn--outline { border-color: var(--ink); color: var(--ink); } .btn--outline:hover { background: var(--ink); color: #fff; } .btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; } .btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; } .btn--sm { min-height: 44px; padding: 0 16px; font-size: 1rem; } .btn--block { width: 100%; } /* ---------- Header ---------- */ .site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; } .site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 32, 44, .5); } .site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); } .brand { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); text-decoration: none; } .heb { width: 64px; height: auto; flex: none; } .brand__text { display: flex; flex-direction: column; line-height: 1.1; } .brand__text b { font: 700 1.25rem/1 var(--f-head); letter-spacing: .02em; text-transform: uppercase; } .brand__text span { margin-top: 3px; color: var(--muted); font-size: .8125rem; } .nav { display: flex; gap: 4px; margin-left: auto; } .nav__link { position: relative; padding: 10px 12px; color: var(--ink); font-weight: 500; font-size: .98rem; text-decoration: none; white-space: nowrap; } .nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); } .nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); } .header-call { flex: none; } .menu-btn { display: none; width: 48px; height: 48px; margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer; position: relative; } .menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); } .menu-btn span:first-child { top: 19px; } .menu-btn span:last-child { top: 27px; } .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); } .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); } .mobile-nav { border-top: 1px solid var(--line); background: #fff; padding: 8px var(--gutter) 24px; } .mobile-nav ul { list-style: none; margin: 0 0 16px; padding: 0; } .mobile-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 600 1.5rem/1.1 var(--f-head); text-decoration: none; } .mobile-nav .btn { width: 100%; } @media (max-width: 1100px) { .nav { display: none; } .menu-btn { display: block; } .header-call { margin-left: auto; } .header-call + .menu-btn { margin-left: 0; } } @media (max-width: 560px) { .header-call { display: none; } .header-call + .menu-btn { margin-left: auto; margin-right: -8px; } .brand__text span { display: none; } .heb { width: 54px; } } /* ---------- Hero ---------- */ .hero { position: relative; display: flex; align-items: flex-end; min-height: min(calc(100svh - var(--header-h)), 820px); padding: 120px 0 clamp(48px, 8vw, 96px); overflow: hidden; background: var(--steel); color: #fff; isolation: isolate; } .hero__img { position: absolute; inset: 0; z-index: -2; } .hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; } .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 22, 30, .82) 0%, rgba(14, 22, 30, .55) 45%, rgba(14, 22, 30, .05) 80%), linear-gradient(0deg, rgba(14, 22, 30, .6) 0%, rgba(14, 22, 30, 0) 45%); } .hero__title { max-width: 11em; color: #fff; font-size: clamp(3rem, 8.5vw, 6.75rem); line-height: .94; } .hero__title span { display: block; } .hero__title span + span { color: var(--sky); } .hero__lead { max-width: 34em; margin: 24px 0 32px; color: rgba(255, 255, 255, .86); font-size: clamp(1.0625rem, 1.8vw, 1.3125rem); } .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; } @media (max-width: 640px) { .hero__img img { object-position: 82% 60%; } } /* Signatur: Ein Sektionaltor fährt beim ersten Besuch hoch und gibt das Bild frei */ .gate { display: none; } .has-intro .gate { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; transition: transform 1.7s cubic-bezier(.62, .02, .28, 1); will-change: transform; } .gate__panel { flex: 1; position: relative; background: linear-gradient(180deg, #5b6670 0%, #4a545e 48%, #424b54 100%); border-bottom: 2px solid #2b3238; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); } .gate__panel::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .18); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); } .gate__plate { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 26px 14px; background: #fff; color: var(--blue); border-radius: 3px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); } .gate__plate .heb { width: 110px; } .gate__plate span { color: var(--muted); font: 600 .75rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; } .gate__light { position: absolute; left: 0; right: 0; top: 100%; height: 90px; background: linear-gradient(180deg, rgba(255, 244, 214, .5), rgba(255, 244, 214, 0)); opacity: 0; transition: opacity .4s; } .gate.is-moving .gate__light { opacity: 1; } .gate.is-open { transform: translateY(-101%); } .has-intro .hero__img img { transform: scale(1.08); transition: transform 2.4s cubic-bezier(.3, .6, .2, 1); } .has-intro.intro-go .hero__img img { transform: none; } .has-intro .hero__inner > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); } .has-intro.intro-go .hero__inner > * { opacity: 1; transform: none; } .has-intro.intro-go .hero__inner > :nth-child(1) { transition-delay: .9s; } .has-intro.intro-go .hero__inner > :nth-child(2) { transition-delay: 1.05s; } .has-intro.intro-go .hero__inner > :nth-child(3) { transition-delay: 1.2s; } .has-intro.intro-go .hero__inner > :nth-child(4) { transition-delay: 1.35s; } /* ---------- Vertrauensleiste ---------- */ .trust { background: var(--blue); color: #fff; } .trust__list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; padding-block: 0; list-style: none; } .trust li { display: flex; flex-direction: column; gap: 2px; padding: 22px 20px; border-left: 1px solid rgba(255, 255, 255, .22); } .trust li:first-child { border-left: 0; padding-left: 0; } .trust b { font: 700 1.375rem/1.1 var(--f-head); } .trust span { color: rgba(255, 255, 255, .78); font-size: .9375rem; line-height: 1.35; } @media (max-width: 900px) { .trust__list { grid-template-columns: 1fr 1fr; } .trust li { padding: 18px 16px; border-left: 0; } .trust li:nth-child(odd) { padding-left: 0; } .trust li:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .22); } .trust li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .22); } } /* ---------- Sektionen ---------- */ .section { padding-block: clamp(64px, 10vw, 128px); } .section--tight { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 112px); } .section--paper { background: var(--paper); } .section--dark { background: var(--steel); color: rgba(255, 255, 255, .86); } .section--dark h2, .section--dark h3 { color: #fff; } .section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); } .section__head .h2 { margin-bottom: 16px; } .section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; } .section__head--row .h2 { margin-bottom: 0; } /* ---------- Leistungen ---------- */ .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; } .card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); } .card__img picture { height: 100%; } .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); } .card:hover .card__img img { transform: scale(1.04); } .card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; } .card__num { color: var(--blue); font: 700 .875rem/1 var(--f-head); letter-spacing: .1em; } .card__title { margin: 8px 0 10px; font-size: 1.75rem; } .card p { color: var(--muted); font-size: 1rem; } .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 14px 0 0; list-style: none; } .tags li { padding: 4px 10px; background: var(--blue-l); color: var(--blue-d); border-radius: 99px; font-size: .8125rem; font-weight: 500; } .card--feature { position: relative; padding: 22px 22px 24px; background: var(--blue); border-color: var(--blue); color: rgba(255, 255, 255, .88); text-decoration: none; transition: background .25s; } .card--feature:hover { background: var(--blue-d); } .card--feature .card__num { color: var(--sky); } .card--feature .card__title { color: #fff; } .card--feature p { color: rgba(255, 255, 255, .82); } .card__big { display: block; margin: auto 0 4px; padding-top: 32px; color: #fff; font: 700 clamp(5rem, 9vw, 7.5rem)/.85 var(--f-head); letter-spacing: -.02em; } .card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: #fff; font-weight: 600; } .card--feature:hover .card__more .i { transform: translateX(4px); } .card__more .i { transition: transform .25s var(--ease); } @media (max-width: 1100px) { .cards { grid-template-columns: 1fr 1fr; } } @media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .card__big { padding-top: 8px; } } /* ---------- 24-h-Renovierung ---------- */ .renovation { background-image: repeating-linear-gradient(180deg, transparent 0 119px, rgba(255, 255, 255, .03) 119px 120px); } .renovation__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; } .renovation__sticky { position: sticky; top: calc(var(--header-h) + 48px); } .renovation__sticky .h2 { margin-bottom: 20px; } .clock { position: relative; width: 168px; height: 168px; margin-top: 40px; } .clock svg { width: 100%; height: 100%; transform: rotate(-90deg); } .clock circle { fill: none; stroke-width: 7; } .clock__track { stroke: var(--line-dark); } .clock__bar { stroke: var(--amber); stroke-dasharray: 100 200; stroke-dashoffset: 100; stroke-linecap: butt; transition: stroke-dashoffset .8s var(--ease); } .clock__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; } .clock__label b { color: #fff; font: 700 3.25rem/1 var(--f-head); font-variant-numeric: tabular-nums; } .clock__label span { color: rgba(255, 255, 255, .6); font-size: .875rem; } .steps { margin: 0; padding: 0; list-style: none; } .step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 36px 0; border-top: 1px solid var(--line-dark); transition: opacity .5s var(--ease); } .ready .step:not(.is-active):not(.is-done):not(.step--photo) { opacity: .4; } .step__num { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid var(--line-dark); border-radius: 50%; color: #fff; font: 700 1.75rem/1 var(--f-head); transition: background .4s, border-color .4s, color .4s; } .step.is-active .step__num, .step.is-done .step__num { background: var(--amber); border-color: var(--amber); color: var(--steel); } .step__title { margin: 6px 0 8px; font-size: clamp(1.75rem, 3vw, 2.25rem); } .step p { color: rgba(255, 255, 255, .72); font-size: 1.0625rem; } .step--photo { display: block; opacity: 1; padding-bottom: 0; } .renovation__photo { margin: 0 0 24px; } .renovation__photo img { border-radius: var(--r); } .renovation__photo figcaption { margin-top: 10px; color: rgba(255, 255, 255, .6); font-size: .9375rem; } @media (max-width: 900px) { .renovation__grid { grid-template-columns: 1fr; } .renovation__sticky { position: static; } .clock { display: none; } .step { grid-template-columns: 52px 1fr; } .step__num { width: 52px; height: 52px; font-size: 1.5rem; } } /* ---------- Projekt-Streifen ---------- */ .strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2)) 16px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; } .strip__item { flex: none; width: clamp(260px, 34vw, 440px); scroll-snap-align: start; color: var(--ink); text-decoration: none; } .strip__item picture { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--paper); } .strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); } .strip__item:hover img { transform: scale(1.04); } .strip__cap { display: flex; flex-direction: column; padding-top: 12px; color: var(--muted); font-size: .9375rem; } .strip__cap b { color: var(--ink); font: 700 1.375rem/1.1 var(--f-head); } /* ---------- Über uns ---------- */ .about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; } .about__photo { position: relative; margin: 0; } .about__photo picture { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); } .about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; } .about__photo figcaption { position: absolute; left: 0; bottom: 24px; display: flex; flex-direction: column; padding: 14px 20px; background: var(--blue); color: rgba(255, 255, 255, .8); font-size: .875rem; } .about__photo figcaption b { color: #fff; font: 700 1.375rem/1.1 var(--f-head); } .about__text .h2 { margin-bottom: 28px; } .quote { margin: 0 0 28px; padding: 0 0 0 24px; border-left: 4px solid var(--blue); } .quote p { color: var(--ink); font: 600 clamp(1.375rem, 2.4vw, 1.75rem)/1.25 var(--f-head); } .signature { margin-top: 28px; color: var(--blue); font: 600 1.5rem/1 var(--f-head); } @media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 440px; } } /* ---------- Vergleich ---------- */ .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .compare__col { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r); } .compare__col--us { border: 2px solid var(--blue); background: var(--blue-l); } .compare__h { margin-bottom: 20px; font-size: 1.75rem; } .compare ul { margin: 0; padding: 0; list-style: none; } .compare li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); } .compare li .i { margin-top: 3px; } .compare__col:not(.compare__col--us) .i { color: #b4543c; } .compare__col--us li { border-color: rgba(0, 86, 157, .18); color: var(--ink); } .compare__col--us .i { color: var(--blue); } .compare__quote { max-width: 30em; margin: clamp(32px, 5vw, 56px) auto 0; color: var(--ink); text-align: center; font: 600 clamp(1.5rem, 3vw, 2.125rem)/1.2 var(--f-head); } .compare__quote::before, .compare__quote::after { color: var(--blue); } .compare__quote::before { content: "„"; } .compare__quote::after { content: "“"; } @media (max-width: 760px) { .compare { grid-template-columns: 1fr; } } /* ---------- Partner ---------- */ .partners { padding-block: clamp(56px, 8vw, 96px); } .partners__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; } .partners__grid p { color: var(--muted); } .partners__list { margin: 0; padding: 0; list-style: none; } .partners__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); } .partners__list li:last-child { border-bottom: 1px solid var(--line); } .partners__list b { color: var(--ink); font: 700 clamp(1.75rem, 3vw, 2.375rem)/1 var(--f-head); } .partners__list span { color: var(--muted); font-size: .9375rem; text-align: right; } @media (max-width: 860px) { .partners__grid { grid-template-columns: 1fr; } } /* ---------- CTA-Band und Footer ---------- */ .cta-band { background: var(--blue); color: rgba(255, 255, 255, .86); padding-block: clamp(56px, 8vw, 96px); background-image: repeating-linear-gradient(180deg, transparent 0 79px, rgba(255, 255, 255, .06) 79px 80px); } .cta-band__inner { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: end; } .cta-band__title { color: #fff; font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 16px; } .cta-band__text { max-width: 36em; } .cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; } .cta-band__phone { display: inline-flex; align-items: center; gap: 14px; color: #fff; font: 700 clamp(2.25rem, 5vw, 3.5rem)/1 var(--f-head); text-decoration: none; white-space: nowrap; } .cta-band__phone .i { width: .8em; height: .8em; } .cta-band__phone:hover span { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; } @media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } } .site-footer { background: var(--steel); color: rgba(255, 255, 255, .72); font-size: .9375rem; } .site-footer .brand { color: #fff; } .site-footer .brand__text span { color: rgba(255, 255, 255, .6); } .site-footer .link { color: rgba(255, 255, 255, .86); } .site-footer .link:hover { color: #fff; } .site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 48px; } .site-footer .site-footer__brand p { max-width: 26em; margin-top: 20px; } .site-footer__h { margin-bottom: 14px; color: #fff; font: 600 .8125rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; } .site-footer address { margin-bottom: 10px; } .site-footer p { margin: 0 0 6px; } .site-footer__nav { margin: 0; padding: 0; list-style: none; } .site-footer__nav li { margin-bottom: 6px; } .site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; background: linear-gradient(var(--line-dark), var(--line-dark)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: .875rem; } .site-footer__credit { color: rgba(255, 255, 255, .5); } @media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } } @media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } } /* Mobile Anrufleiste */ .callbar { display: none; } @media (max-width: 760px) { body { padding-bottom: 64px; } .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--steel); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .4); } .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; color: #fff; font-weight: 600; text-decoration: none; } .callbar a:first-child { background: var(--blue); } } /* ---------- Unterseiten ---------- */ .page-hero { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); background: var(--paper); background-image: repeating-linear-gradient(180deg, transparent 0 59px, rgba(20, 32, 44, .05) 59px 60px); border-bottom: 1px solid var(--line); } .page-hero__title { font-size: clamp(3rem, 8vw, 5.5rem); margin-bottom: 16px; } .page-hero__lead { max-width: 40em; color: var(--muted); font-size: clamp(1.0625rem, 1.8vw, 1.25rem); } /* Galerie */ .filters { display: flex; flex-wrap: wrap; gap: 8px; } .chip { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink); font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s; } .chip:hover { border-color: var(--ink); } .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; } .filters__count { margin: 16px 0 24px; color: var(--muted); font-size: .9375rem; } .gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; margin: 0; padding: 0; list-style: none; } .gallery__item[hidden] { display: none; } .gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; } .gallery__btn picture { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--paper); } .gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); } .gallery__btn:hover img { transform: scale(1.05); } .gallery__cap { display: flex; flex-direction: column; padding-top: 10px; color: var(--muted); font-size: .875rem; line-height: 1.35; } .gallery__cap b { color: var(--ink); font: 700 1.1875rem/1.15 var(--f-head); } .gallery__item.is-target .gallery__btn picture { outline: 3px solid var(--blue); outline-offset: 3px; } .note { max-width: 46em; margin-top: 48px; padding: 20px 24px; border-left: 4px solid var(--blue); background: var(--blue-l); color: var(--ink); } @media (max-width: 1100px) { .gallery { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; gap: 20px 12px; } .gallery__cap b { font-size: 1.0625rem; } } .lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 17, 22, .96); color: #fff; } .lightbox::backdrop { background: rgba(12, 17, 22, .8); } .lightbox[open] { display: grid; place-items: center; } .lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; padding: 72px 72px 32px; max-width: 100%; max-height: 100%; } .lightbox__fig img { max-width: min(1200px, 100%); max-height: calc(100dvh - 180px); width: auto; height: auto; object-fit: contain; border-radius: var(--r); } .lightbox__fig figcaption { display: flex; flex-direction: column; align-items: center; text-align: center; color: rgba(255, 255, 255, .7); } .lightbox__fig figcaption b { color: #fff; font: 700 1.5rem/1.1 var(--f-head); } .lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background .2s; } .lightbox__btn:hover { background: rgba(255, 255, 255, .18); } .lightbox__btn .i { width: 22px; height: 22px; } .lightbox__close { top: 16px; right: 16px; } .lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); } .lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); } @media (max-width: 640px) { .lightbox__fig { padding: 72px 12px 96px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; transform: none; } .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); } } /* Kontakt */ .contact { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; } .contact__info { display: flex; flex-direction: column; gap: 28px; } .contact__phone { display: flex; align-items: center; gap: 16px; padding: 24px; background: var(--blue); color: #fff; border-radius: var(--r); text-decoration: none; transition: background .2s; } .contact__phone:hover { background: var(--blue-d); } .contact__phone .i { width: 32px; height: 32px; } .contact__phone span { display: flex; flex-direction: column; font: 700 2.25rem/1 var(--f-head); } .contact__phone small { margin-bottom: 6px; color: rgba(255, 255, 255, .75); font: 600 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; } .contact__h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 1.5rem; } .contact__h .i { color: var(--blue); } .contact__block address { margin-bottom: 8px; } .contact__block p { color: var(--muted); } .contact__person { display: flex; align-items: center; gap: 16px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); } .contact__person picture { width: 72px; height: 72px; flex: none; border-radius: 50%; overflow: hidden; } .contact__person img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; } .contact__person figcaption { display: flex; flex-direction: column; color: var(--muted); font-size: .9375rem; } .contact__person b { color: var(--ink); font: 700 1.25rem/1.1 var(--f-head); } @media (max-width: 900px) { .contact { grid-template-columns: 1fr; } } .form { position: relative; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: 0 24px 60px -40px rgba(20, 32, 44, .4); } .form__group { margin: 0 0 24px; padding: 0; border: 0; } .form__group legend { margin-bottom: 10px; padding: 0; color: var(--ink); font-weight: 600; } .choices { display: flex; flex-wrap: wrap; gap: 8px; } .choice { position: relative; cursor: pointer; } .choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; } .choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; font-weight: 500; transition: background .2s, border-color .2s, color .2s; } .choice input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; } .choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; } .choice:hover span { border-color: var(--ink); } .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; } @media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } } .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; } .field > span { color: var(--ink); font-size: .9375rem; font-weight: 600; } .field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c9c4b9; border-radius: var(--r); background: #fff; color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s; } .field textarea { resize: vertical; min-height: 128px; } .field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 86, 157, .18); } .field.is-invalid input { border-color: #b4362a; box-shadow: 0 0 0 3px rgba(180, 54, 42, .12); } .field > .field__error { color: #b4362a; font-size: .875rem; font-weight: 500; } .check { display: flex; gap: 12px; margin: 4px 0 20px; color: var(--muted); font-size: .9375rem; cursor: pointer; } .check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--blue); } .check.is-invalid span { color: #b4362a; } .form__demo { margin-bottom: 16px; padding: 12px 14px; background: #fff7e6; border-left: 3px solid var(--amber); color: #6b4a0d; font-size: .875rem; } .form__done { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 18px 20px; background: var(--blue-l); border-radius: var(--r); color: var(--ink); } .form__done[hidden] { display: none; } .form__done .i { width: 28px; height: 28px; color: var(--blue); } .form__done div { display: flex; flex-direction: column; } /* Rechtstexte */ .legal { max-width: 800px; } .legal h2 { margin: 40px 0 10px; font-size: 1.75rem; } .legal h2:first-child { margin-top: 0; } .legal address, .legal p { margin-bottom: 12px; } .todo { display: block; margin: 8px 0 16px; padding: 10px 14px; background: #fdecea; border-left: 3px solid #b4362a; color: #7d1f16; font-size: .9375rem; } /* ---------- Einblendungen beim Scrollen ---------- */ @media (prefers-reduced-motion: no-preference) { .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); } .js .reveal.is-in { opacity: 1; transform: none; } .js .cards .reveal:nth-child(2) { transition-delay: .08s; } .js .cards .reveal:nth-child(3) { transition-delay: .16s; } .js .cards .reveal:nth-child(4) { transition-delay: .24s; } } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }