/* theapple-1.com – Unterseiten im neuen Design (ergänzt home.css).
   Seiten-Hero, Inhaltstypografie, Galerie-Kacheln, Bild neben Text, Rechtstexte, Lightbox.
   Galerie, Lightbox und More/Hide-Logik kommen aus assets/js/site.js. */

/* Kopf, Navigation und Fuß behalten ihre Schrift – auch wenn eine Seite body/a per Inline-Style umstellt (interactive/apple-1.html) */
.a1-nav, .a1-footer, .a1-pagehero { font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; }
.a1-nav a, .a1-nav button, .a1-footer a { font-family: inherit; }
.a1-nav .navbar-brand { font-family: "Fraunces", Georgia, serif; }
.a1-nav .dropdown-item.active, .a1-nav .dropdown-item:active { background: var(--a1-accent); color: var(--a1-bg); }

/* ---------- Seiten-Hero ---------- */
.a1-pagehero { position: relative; background: #050607; color: #f3efe6; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(26rem, 64svh, 40rem); }
.a1-pagehero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: -2; opacity: .9; }
.a1-pagehero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, rgba(5, 6, 7, .88) 0%, rgba(5, 6, 7, .55) 45%, rgba(5, 6, 7, .15) 80%),
    linear-gradient(180deg, rgba(5, 6, 7, .75) 0%, rgba(5, 6, 7, .1) 30%, rgba(5, 6, 7, .2) 60%, rgba(5, 6, 7, .95) 100%); }
.a1-pagehero--plain { min-height: 0; }
.a1-pagehero--plain::before { background: radial-gradient(80% 120% at 85% 0%, rgba(143, 227, 176, .10), transparent 60%); }
.a1-pagehero--plain::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(185, 240, 203, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(185, 240, 203, .05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.a1-pagehero__inner { width: 100%; padding-top: 8.5rem; padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.a1-pagehero--plain .a1-pagehero__inner { padding-top: 8rem; padding-bottom: 3rem; }
.a1-pagehero .a1-eyebrow { color: rgba(243, 239, 230, .72); }
.a1-pagehero__title { font-family: "Fraunces", Georgia, serif; font-weight: 560; font-size: clamp(2.4rem, 6.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.02em; margin: 1rem 0 0; color: #f8f5ee; max-width: 18ch; }
.a1-pagehero--plain .a1-pagehero__title { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: none; }
.a1-pagehero__sub { margin: 1.2rem 0 0; color: rgba(243, 239, 230, .78); font-size: 1rem; }
.a1-pagehero__sub a { color: #b9f0cb; }
.a1-pagehero__back { display: inline-flex; align-items: center; gap: .45rem; color: rgba(243, 239, 230, .7); font-size: .85rem; margin-bottom: 1.4rem; }
.a1-pagehero__back:hover { color: #fff; text-decoration: none; }

/* ---------- Inhalt ---------- */
.a1-page main { display: block; }
.a1-page .page-section { background: var(--a1-bg); padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 7rem); }
.a1-page .page-section + .page-section { padding-top: 0; }
.a1-page .featurette { padding: 0; }
.a1-page .featurette .featurette { padding: 0; }
.a1-page .block-title { font-family: "Fraunces", Georgia, serif; font-weight: 520; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.015em; margin: 2rem 0 1.5rem; }
.a1-page .featurette-heading { font-family: "Fraunces", Georgia, serif; font-weight: 520; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.1; letter-spacing: -.015em; text-transform: none; margin: clamp(3rem, 6vw, 4.5rem) 0 .9rem; color: var(--a1-ink); }
.a1-page .featurette-lead { margin: 0 0 1.6rem; height: 1px; width: 56px; background: var(--a1-accent); padding: 0; }
.a1-page .featurette-lead:not(:empty) { height: auto; width: auto; background: none; font-family: "JetBrains Mono", monospace; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--a1-accent); }
.a1-page main h3 { font-family: "Fraunces", Georgia, serif; font-weight: 520; font-size: 1.5rem; margin: 2rem 0 .8rem; }
.a1-page main h4, .a1-page main h5 { font-family: "Inter", sans-serif; font-weight: 650; font-size: 1.05rem; margin: 1.6rem 0 .5rem; color: var(--a1-ink); }
.a1-page main p, .a1-page main li { color: var(--a1-ink); }
/* Blocksatz wie im Original (Frank, 20.11.2026) – mit Silbentrennung gegen Lücken auf schmalen Bildschirmen */
.a1-page .text-justify { text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 6 3 3; }
.a1-page main a:not(.gallery-link):not(.a1-btn):not(.btn) { color: var(--a1-accent); text-decoration: none; }
.a1-page main a:not(.gallery-link):not(.a1-btn):not(.btn):hover { text-decoration: underline; }
.a1-page main b, .a1-page main strong { font-weight: 650; }
.a1-page main sup { font-size: .65em; }

/* Externer Link: kleiner Pfeil */
.a1-page main a.external-link::after { content: "\F1C5"; font-family: "bootstrap-icons"; font-size: .7em; margin-left: .3em; vertical-align: .15em; opacity: .7; }

/* ---------- Galerie-Kacheln ---------- */
.a1-page .popup-gallery, .a1-page .row-flow { display: flow-root; }
.a1-page .gallery-grid { --bs-gutter-x: 1.25rem; --bs-gutter-y: 1.75rem; margin-bottom: 1rem; }
.a1-page .thumb { font-size: .86rem; line-height: 1.4; }
.a1-page .thumb > a.gallery-link { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0b0c0e; border: 1px solid var(--a1-line); transition: border-color .3s, box-shadow .4s, transform .4s cubic-bezier(.2, .7, .1, 1); }
.a1-page .thumb > a.gallery-link img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; padding: 0; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .1, 1), filter .5s; filter: saturate(.94); }
.a1-page .thumb > a.gallery-link:hover, .a1-page .thumb > a.gallery-link:focus-visible { border-color: var(--a1-accent); box-shadow: 0 18px 40px rgba(0, 0, 0, .16); transform: translateY(-3px); }
.a1-page .thumb > a.gallery-link:hover img { transform: scale(1.06); filter: saturate(1.05); }
.a1-page .thumb .plus { position: absolute; right: 0; bottom: 0; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; font-size: 1.3rem; line-height: 1; color: #06120b; background: #b9f0cb; opacity: 0; transform: translateY(100%); transition: transform .3s, opacity .3s; }
.a1-page .thumb > a.gallery-link:hover .plus, .a1-page .thumb > a.gallery-link:focus-visible .plus { transform: none; opacity: 1; }
.a1-page .thumb > a.video-link::after { content: "\F4F2"; font-family: "bootstrap-icons"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 2.6rem; color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, .6); pointer-events: none; }
@media (hover: none) { .a1-page .thumb .plus { transform: none; opacity: .9; width: 1.9rem; height: 1.9rem; font-size: 1.1rem; } }
.a1-page .thumb .image-caption, .a1-page .thumb > a:not(.gallery-link) { display: block; margin-top: .6rem; overflow-wrap: anywhere; }
.a1-page .thumb .image-caption { color: var(--a1-muted); }
.a1-page .thumb > a:not(.gallery-link) { font-weight: 600; }

/* Einzelnes Bild neben Fließtext */
.a1-page .thumb-float { width: 100%; max-width: 24rem; margin: 0 0 1.5rem; padding: 0; }
@media (min-width: 576px) { .a1-page .thumb-float { float: left; width: 46%; max-width: 20rem; margin: .4rem 2rem 1.2rem 0; } }

/* Hinweisboxen, Rechtstexte */
.a1-page .well { background: var(--a1-surface); border: 1px solid var(--a1-line); border-left: 3px solid var(--a1-accent); padding: 1.2rem 1.4rem; margin-bottom: 1.5rem; }
.a1-page .privacy { padding: 0 0 2rem; }
.a1-page .privacy h1 { font-family: "Fraunces", Georgia, serif; font-weight: 520; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 1.2rem; }
.a1-page .privacy h2 { font-family: "Fraunces", Georgia, serif; font-weight: 520; font-size: 1.45rem; margin: 2.2rem 0 .7rem; }
.a1-page .privacy h3, .a1-page .privacy h4, .a1-page .privacy h5 { font-family: "Inter", sans-serif; font-weight: 650; font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.a1-page .privacy ol > li::marker { font-family: "JetBrains Mono", monospace; color: var(--a1-accent); }

/* More / Hide */
.a1-page .btn-more { --bs-btn-color: var(--a1-accent); --bs-btn-border-color: var(--a1-line); --bs-btn-hover-color: var(--a1-bg); --bs-btn-hover-bg: var(--a1-accent); --bs-btn-hover-border-color: var(--a1-accent); --bs-btn-active-bg: var(--a1-accent); --bs-btn-active-color: var(--a1-bg); --bs-btn-padding-x: 1.1rem; --bs-btn-padding-y: .55rem; --bs-btn-font-size: .88rem; --bs-btn-font-weight: 600; margin: .4rem 0 .6rem; }
.a1-page .btn-more .bi { margin-right: .3rem; }

/* Interaktive Seite: Bild-Karte füllt die Breite */
.a1-page #image-map-pro-container { margin: 2rem auto 0; }

/* Ohne JavaScript: alles lesbar */
html:not(.js) .collapse:not(.show) { display: block; }
html:not(.js) .btn-more { display: none !important; }

/* ---------- Lightbox (site.js) ---------- */
html.a1-lb-open { overflow: hidden; }
.a1-lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(5, 6, 7, .96); color: #ebe8e1; font-family: "Inter", system-ui, sans-serif; overflow: hidden; }
.a1-lightbox::backdrop { background: rgba(0, 0, 0, .7); }
.a1-lightbox[open] { display: flex; flex-direction: column; }
.a1-lb-stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 3.5rem 4.5rem .5rem; touch-action: pan-y pinch-zoom; }
.a1-lb-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 0 !important; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); background: #fff; cursor: zoom-out; }
.a1-lb-bar { flex: 0 0 auto; display: flex; gap: 1.5rem; align-items: flex-start; justify-content: space-between; padding: .9rem 1.2rem 1.3rem; max-width: 1100px; width: 100%; margin: 0 auto; font-size: .95rem; line-height: 1.45; }
.a1-lb-caption { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 1.05rem; }
.a1-lb-counter { flex: 0 0 auto; color: #9a9ea6; font-family: "JetBrains Mono", monospace; font-size: .8rem; letter-spacing: .1em; }
.a1-lb-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 1px solid rgba(243, 239, 230, .25); border-radius: 0; background: rgba(5, 6, 7, .5); color: #f3efe6; font-size: 1.3rem; cursor: pointer; transition: background .2s, border-color .2s; }
.a1-lb-btn:hover { background: #b9f0cb; border-color: #b9f0cb; color: #06120b; }
.a1-lb-btn:focus-visible { outline: 2px solid #b9f0cb; outline-offset: 2px; }
.a1-lb-close { top: .8rem; right: .8rem; }
.a1-lb-prev, .a1-lb-next { top: 50%; margin-top: -1.5rem; }
.a1-lb-prev { left: .8rem; }
.a1-lb-next { right: .8rem; }
.a1-lb-single .a1-lb-prev, .a1-lb-single .a1-lb-next, .a1-lb-single .a1-lb-counter { display: none; }
.a1-lb-msg { color: #f1f1f1; text-align: center; padding: 2rem; }
@media (max-width: 575.98px) {
  .a1-lb-stage { padding: 3.5rem 0 .5rem; }
  .a1-lb-prev, .a1-lb-next { top: auto; bottom: .7rem; margin-top: 0; }
  .a1-lb-bar { padding-bottom: 4.5rem; }
}

@media print {
  .a1-nav, .a1-top, .btn-more, .a1-pagehero__img { display: none !important; }
  .a1-pagehero { background: none; color: #000; min-height: 0; }
  .a1-pagehero__title { color: #000; }
  .collapse:not(.show) { display: block !important; }
}
