/* ==========================================================================
   Atelier 34 – Template „atelier343"
   Getreuer Nachbau des Original-Artisteer-Templates von Sabine Deubert mit den
   ECHTEN Template-Bildern (public/images/artisteer/): Ray-/Leinwand-Hintergrund
   page.jpeg + pageglare.png, Bergpanorama-Kopf header.jpg, Leinwand-Inhaltsbox
   sheet.png. Responsiv, ohne linkes Menü. Selbständiges Stylesheet.
   Farben aus dem Master gemessen: Logo-Teal #178fa3, Komplementär (Zitate)
   Terrakotta/Rotorange #b8442a.
   ========================================================================== */

:root {
	/* Logofarbe (Überschriften, aktiver Button) */
	--a3-teal: #178fa3;
	--a3-teal-dark: #0f6d80;
	--a3-teal-deep: #0b5563;
	/* Komplementärfarbe zur Logofarbe – für Zitate (müssen hervorstechen) */
	--a3-quote: #b8442a;
	--a3-quote-dark: #99381f;
	--a3-nav1: #c3ccd1;
	--a3-nav2: #8394a0;
	--a3-nav-dark: #6d7d88;
	--a3-olive1: #cdceb9;
	--a3-olive2: #94966b;
	--a3-olive3: #84865f;
	--a3-ink: #33393c;
	--a3-ink-soft: #5c666b;
	--a3-sheet: #fdfaf3;        /* warmes Naturweiß der Inhaltsboxen */
	--a3-line: #ddd6c6;
	--a3-radius: 6px;
	--a3-max: 1040px;
	--a3-shadow: 0 2px 10px rgba(30, 50, 60, 0.14);
	--a3-shadow-lg: 0 8px 26px rgba(30, 50, 60, 0.2);
	--a3-text: 1rem;           /* einheitliche Fließtext-Größe auf allen Seiten */
	--img-artisteer: /images/artisteer;
	--font-body: Arial, "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-head: "Century Gothic", "Apple Gothic", "URW Gothic", Arial, sans-serif;
	--font-logo: "Iowan Old Style", "Palatino Nova", Palatino, "Book Antiqua", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Seiten-Hintergrund: echte Ray-/Leinwand-Textur des Templates (fixiert). */
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--a3-ink);
	font-size: var(--a3-text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	background:
		url("../images/artisteer/pageglare.png") top center no-repeat,
		url("../images/artisteer/page.jpeg") top center no-repeat,
		linear-gradient(180deg, #bfc9d4 0, #ffffff 1050px);
	background-attachment: fixed, fixed, fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--a3-teal); }
a:hover { color: var(--a3-teal-dark); }
p { font-size: var(--a3-text); }

/* Überschriften: Logofarbe, insgesamt kleiner. Nur H1 wird unterstrichen. */
h1, h2, h3, h4 {
	font-family: var(--font-head);
	line-height: 1.25;
	color: var(--a3-teal);
	font-weight: 700;
	margin-top: 0;
}
h1 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
h2 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
h3 { font-size: clamp(1.02rem, 1.9vw, 1.18rem); }

.container {
	max-width: var(--a3-max);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* Weißes „Blatt": Kopf, Inhalt und Fuß bilden zusammen ein zentriertes Panel. */
.site-header,
#main,
.site-footer {
	max-width: var(--a3-max);
	margin-inline: auto;
}

/* Leinwand-Textur (sheet.png) als warmes Naturweiß hinter Kopf + Inhalt. */
.site-header,
#main {
	background: var(--a3-sheet) url("../images/artisteer/sheet.png");
}
#main {
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), var(--a3-shadow-lg);
}
/* Kopf (Logo + Menü) beim Scrollen oben fixieren. KEIN overflow:hidden hier –
   sonst würden die aufklappenden Untermenüs (nach unten) abgeschnitten. */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
}
@media (min-width: 1080px) {
	.site-footer { border-radius: 0 0 var(--a3-radius) var(--a3-radius); overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Kopf: Himmel-/Bergband + Schriftzug, darunter der Menü-Balken
   -------------------------------------------------------------------------- */
.site-header .container {
	max-width: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

/* Der Marken-Link zeigt das ECHTE, unveränderte Kopfbild header.jpg
   (Bergpanorama + eingebauter „Atelier34"-Schriftzug, Originalgrafik des
   Templates – scharf und in der vom Template vorgesehenen Position).
   Bildverhältnis 894:150 bleibt über aspect-ratio erhalten. */
.brand {
	order: 1;
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 894 / 150;
	text-decoration: none;
	background: url("../images/artisteer/header.jpg") center / cover no-repeat;
}
/* Der Text-Schriftzug im Kopf entfällt (Logo steckt bereits im Bild) – nur
   für Screenreader sichtbar. In Überschriften bleibt LogoSchriftzug normal sichtbar. */
.brand .logo-schriftzug {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Menü-Balken */
.nav-toggle {
	order: 2;
	display: none;
	margin: 0;
	padding: 0.7rem 1rem;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	font-weight: 700;
	font-size: 1rem;
	color: #fff;
	cursor: pointer;
	background: linear-gradient(180deg, var(--a3-nav1), var(--a3-nav2));
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

/* Menü-Leiste: dieselbe blaugraue Nav-Farbe wie im Original (.art-nav), die
   Reiter selbst sitzen als einzelne „Karteikarten"-Tabs darauf. */
nav.main-nav {
	order: 3;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 7px;
	background: linear-gradient(180deg, var(--a3-nav1) 0, var(--a3-nav2) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 4px rgba(0, 0, 0, 0.12);
	padding: 8px 10px 0;
}

/* Reiter im Original-Look: rechteckig, nur oben abgerundet, dunkler Rand,
   Großbuchstaben in Century Gothic – wie im echten Artisteer-Template. */
nav.main-nav a,
nav.main-nav summary {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 1.1rem;
	color: #595959;
	text-decoration: none;
	font-family: var(--font-head);
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	cursor: pointer;
	list-style: none;
	border: 1px solid #546369;
	border-bottom: none;
	border-radius: 3px 3px 0 0;
	white-space: nowrap;
	background: linear-gradient(180deg, #e7e8de 0%, #b8b99d 100%);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
	transition: background 0.15s ease, color 0.15s ease;
}
nav.main-nav summary::-webkit-details-marker { display: none; }

nav.main-nav a:hover,
nav.main-nav summary:hover {
	background: linear-gradient(180deg, #ffffff 0%, #c2c2c2 100%);
	color: #000;
	border-color: #000;
}

nav.main-nav a.active,
nav.main-nav summary.active {
	background: linear-gradient(180deg, #00aed1 0%, #005161 100%);
	color: #e8e8e8;
	border-color: #546369;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

nav.main-nav details { position: relative; }

.nav-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	min-width: 230px;
	background: var(--a3-sheet);
	border: 1px solid var(--a3-line);
	border-radius: var(--a3-radius);
	box-shadow: var(--a3-shadow-lg);
	padding: 0.35rem;
	display: flex;
	flex-direction: column;
	z-index: 40;
}
.nav-dropdown a {
	color: var(--a3-ink);
	text-shadow: none;
	font-weight: 600;
}
.nav-dropdown a:hover { background: #eef3f4; color: var(--a3-teal-dark); box-shadow: none; }
.nav-dropdown a.active { background: var(--a3-teal); color: #fff; }

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	nav.main-nav {
		display: none;
		flex-direction: column;
		padding: 8px;
	}
	nav.main-nav.open { display: flex; }
	/* Gestapelt statt nebeneinander: Reiter allseitig abgerundet, mit
	   unterer Kante (kein „Karteikarten"-Look nötig, wenn sie untereinander stehen). */
	nav.main-nav a,
	nav.main-nav summary {
		width: 100%;
		border-radius: 4px;
		border-bottom: 1px solid #546369;
	}
	nav.main-nav a.active,
	nav.main-nav summary.active { border-bottom-color: #546369; }
	.nav-dropdown { position: static; box-shadow: none; border: none; padding-left: 0.8rem; }
}

/* --------------------------------------------------------------------------
   Inhalt
   -------------------------------------------------------------------------- */
#main { padding-bottom: 0.5rem; }

section { padding-block: clamp(1.6rem, 4vw, 2.8rem); }
/* Kein eigener (weißer) Hintergrund für „alt"-Abschnitte: die Rauhfaser-/
   Leinwandtextur von #main soll ununterbrochen durchlaufen, genau wie im
   Original-Template (dort gibt es keine farblich abgesetzten Sektionen). */

/* Rote/olivfarbene Mini-Überschriften (eyebrow) entfallen im gesamten Design. */
.eyebrow { display: none; }

/* Unterstreichung nur bei Überschriften der 1. Ebene (H1). H2 ohne Linie. */
.brush-heading {
	display: inline-block;
	background: none;
	border-bottom: 0;
	padding-bottom: 0;
}
h1.brush-heading,
h1 {
	display: inline-block;
	padding-bottom: 0.32rem;
	border-bottom: 2.5px solid var(--a3-teal);
}
h2.brush-heading,
h2 { border-bottom: 0; padding-bottom: 0; }

/* Zitate haben Vorrang vor Überschriften: Komplementärfarbe, größer, prägnant.
   Zitat und Verfasser in derselben Farbe; Abstand Zitat↔Autor klein,
   Autor↔Inhalt größer. */
.art-quote {
	font-family: var(--font-head);
	font-style: italic;
	font-size: clamp(1.3rem, 3vw, 1.85rem);
	font-weight: 700;
	color: var(--a3-quote);
	text-align: center;
	max-width: 46ch;
	margin: 0 auto 0.25rem;
	line-height: 1.3;
}
.art-quote-source {
	text-align: center;
	color: var(--a3-quote);
	font-size: 1rem;
	font-style: italic;
	margin: 0 0 1.8rem;
}

/* Hero */
.hero { text-align: center; padding-block: clamp(1.4rem, 3.5vw, 2.6rem) clamp(1rem, 2.5vw, 1.6rem); }
.hero h1 { margin: 0.2rem 0 0.5rem; }
.hero .hero-sub { max-width: 60ch; margin-inline: auto; color: var(--a3-ink-soft); }
.hero-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }

/* --------------------------------------------------------------------------
   Schaltflächen (Artisteer-Optik: glänzendes Oliv, Petrol als Primär)
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.62rem 1.3rem;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.96rem;
	font-family: var(--font-body);
	text-decoration: none;
	cursor: pointer;
	min-height: 42px;
	color: #3c3d2c;
	border: 1px solid rgba(0, 0, 0, 0.18);
	background: linear-gradient(180deg, var(--a3-olive1) 0, var(--a3-olive2) 84%, var(--a3-olive3) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.2);
	transition: filter 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: #3c3d2c; }
.btn:active { transform: translateY(0); filter: brightness(0.97); }

.btn-primary,
.btn-accent {
	color: #fff;
	border-color: rgba(0, 0, 0, 0.22);
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
	background: linear-gradient(180deg, #2c9bb2 0, var(--a3-teal) 82%, var(--a3-teal-dark) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(0, 0, 0, 0.25);
}
.btn-primary:hover, .btn-accent:hover { color: #fff; }
.btn-accent {
	background: linear-gradient(180deg, #d98a63 0, #c05f3c 82%, #a54c2c 100%);
}
.btn-outline {
	background: linear-gradient(180deg, #ffffff 0, #eef2f3 100%);
	color: var(--a3-teal-dark);
	border: 1px solid var(--a3-teal);
	text-shadow: none;
}
.btn-outline:hover { color: var(--a3-teal-deep); }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Karten / Raster
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
	background: #fbfcfc;
	border: 1px solid var(--a3-line);
	border-radius: var(--a3-radius);
	box-shadow: var(--a3-shadow);
	padding: 1.4rem;
}
a.card { text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--a3-shadow-lg); }
.card img { border-radius: 4px; margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   Kunstwerke: ohne zusätzlichen Rahmen – nur das Bild selbst
   -------------------------------------------------------------------------- */
.art-frame {
	display: block;
	border-radius: 3px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.art-frame .art-mat { display: block; }
.art-frame img { width: 100%; height: auto; display: block; }
a.art-frame { cursor: zoom-in; }
a.art-frame:hover { transform: translateY(-4px); box-shadow: var(--a3-shadow-lg); }

.art-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: clamp(1.2rem, 3vw, 2rem);
	align-items: start;
}
.art-grid figure { margin: 0; }
.art-grid figcaption {
	text-align: center;
	font-family: var(--font-head);
	font-size: 0.92rem;
	color: var(--a3-ink-soft);
	margin-top: 0.55rem;
}

/* Lightbox */
.art-lightbox {
	position: fixed; inset: 0;
	background: rgba(18, 30, 34, 0.92);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	z-index: 200; padding: 1.5rem;
}
.art-lightbox[hidden] { display: none; }
.art-lightbox figure { margin: 0; max-width: min(1100px, 94vw); display: flex; flex-direction: column; align-items: center; }
.art-lightbox img {
	max-width: 92vw; max-height: 78vh; width: auto; height: auto;
	border-radius: 3px;
	box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}
.art-lightbox figcaption { color: #eef3f4; font-family: var(--font-head); font-size: clamp(1rem, 2vw, 1.25rem); margin-top: 0.8rem; text-align: center; }
.art-lb-close { position: absolute; top: 1rem; right: 1.25rem; background: none; border: 0; color: #eef3f4; font-size: 2.3rem; line-height: 1; cursor: pointer; }
.art-lb-close:hover { color: #fff; }
.art-lb-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	display: flex; align-items: center; justify-content: center;
	width: 3rem; height: 3rem; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%;
	background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
.art-lb-nav:hover { background: rgba(255, 255, 255, 0.3); }
.art-lb-prev { left: 1rem; } .art-lb-next { right: 1rem; }
@media (max-width: 600px) { .art-lb-nav { width: 2.5rem; height: 2.5rem; font-size: 1.6rem; } .art-lb-prev { left: 0.4rem; } .art-lb-next { right: 0.4rem; } }

/* --------------------------------------------------------------------------
   News-Zeitleiste
   -------------------------------------------------------------------------- */
.news-list { list-style: none; margin: 0; padding: 0; position: relative; max-width: 820px; }
.news-list::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--a3-teal); opacity: 0.4; }
.news-item { position: relative; padding: 0 0 1.8rem 2.1rem; }
.news-item::before {
	content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%;
	background: #fff; border: 3px solid var(--a3-teal); box-shadow: 0 0 0 3px rgba(31, 127, 147, 0.15);
}
.news-item .news-period { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--a3-olive3); }
.news-item h3 { margin: 0.15rem 0 0.4rem; }
.news-item .news-location { white-space: pre-line; color: var(--a3-ink-soft); font-size: 0.94rem; margin: 0.3rem 0 0; }
.news-item .news-links { margin-top: 0.7rem; display: flex; gap: 0.55rem; flex-wrap: wrap; }
.news-item .news-links .btn { padding: 0.42rem 0.95rem; min-height: 34px; font-size: 0.88rem; }

/* --------------------------------------------------------------------------
   Kontakt-Buttons
   -------------------------------------------------------------------------- */
.contact-methods { display: flex; flex-direction: column; gap: 0.65rem; max-width: 400px; }
.contact-method {
	display: flex; align-items: center; gap: 0.85rem; padding: 0.7rem 1rem;
	border-radius: var(--a3-radius); border: 1px solid rgba(0, 0, 0, 0.12);
	text-decoration: none; color: #fff; min-height: 56px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), var(--a3-shadow);
	transition: transform 0.15s ease, filter 0.15s ease;
}
.contact-method:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff; }
.contact-method .icon { font-size: 1.45rem; width: 1.8rem; text-align: center; flex-shrink: 0; }
.contact-method-text { display: flex; flex-direction: column; line-height: 1.25; }
.contact-method-text strong { font-size: 1rem; }
.contact-method-text small { font-size: 0.82rem; opacity: 0.9; }
.contact-method.whatsapp { background: linear-gradient(180deg, #33c162, #1fa04f); }
.contact-method.telegram { background: linear-gradient(180deg, #34a8dd, #1f8fc5); }
.contact-method.phone { background: linear-gradient(180deg, #2c9bb2, var(--a3-teal)); }
.contact-method.email { background: linear-gradient(180deg, #4a5459, #33393c); }

form.contact-form { display: grid; gap: 1rem; max-width: 560px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.35rem; }
input[type="text"], input[type="email"], textarea {
	width: 100%; padding: 0.7rem 0.85rem; border-radius: 4px; border: 1px solid #c3ccd0;
	font-size: 1rem; font-family: inherit; background: #fff; color: var(--a3-ink);
}
input:focus, textarea:focus { outline: 2px solid var(--a3-teal); outline-offset: 1px; }

/* --------------------------------------------------------------------------
   Flipbook / Einbettungen
   -------------------------------------------------------------------------- */
#flipbook-container { max-width: 1120px; margin-inline: auto; }
#flipbook-viewport { margin-inline: auto; }

/* Geschlossenes Buch: die leere (weiße) Buchhälfte neben Deckblatt bzw.
   Rückseite ausblenden und das sichtbare Blatt mittig stellen. Nur im
   Doppelseiten-Modus nötig – im Hochformat zeigt StPageFlip ohnehin nur eine
   Seite. Die Klassen setzt Flipbook.astro je nach Blätterzustand. */
@media (min-width: 760px) {
	#flipbook-container .stf__wrapper:not([class*="--portrait"]) {
		position: relative;
		left: 0;
		clip-path: inset(0 0 0 0);
		transition: left 0.4s ease, clip-path 0.4s ease;
	}
	#flipbook-container.book-at-front .stf__wrapper:not([class*="--portrait"]) {
		clip-path: inset(0 0 0 50%);
		left: -25%;
	}
	#flipbook-container.book-at-back .stf__wrapper:not([class*="--portrait"]) {
		clip-path: inset(0 50% 0 0);
		left: 25%;
	}
}
.flipbook-controls { display: flex; gap: 0.6rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 1.1rem; }

.embed-wrap { position: relative; width: 100%; border-radius: var(--a3-radius); overflow: hidden; box-shadow: var(--a3-shadow-lg); background: #1a1612; }
.embed-wrap.ratio-16-9 { aspect-ratio: 16 / 9; }
.embed-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------------------
   Fußzeile (blaugrauer Balken wie im Original)
   -------------------------------------------------------------------------- */
.site-footer {
	background: linear-gradient(180deg, var(--a3-nav1) 0, var(--a3-nav-dark) 100%);
	color: #24343c;
	padding-block: 0.9rem;
	text-align: center;
	font-size: 0.88rem;
	line-height: 1.35;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
/* Footer-Absätze eng zusammen. */
.site-footer p { margin: 0.2rem 0; }
.site-footer a { color: var(--a3-teal-deep); font-weight: 700; }
.footer-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 0.35rem; }
.footer-quote { font-family: var(--font-head); font-style: italic; color: #2c3c44; }
.footer-kunstfoyer {
	display: inline-flex; align-items: center; gap: 0.55rem;
	margin-bottom: 0.35rem; text-decoration: none; color: #24343c !important; font-weight: 700;
}
.footer-kunstfoyer img { height: 34px; width: auto; }
.footer-kunstfoyer:hover { color: var(--a3-teal-deep) !important; }

/* --------------------------------------------------------------------------
   Hilfselemente
   -------------------------------------------------------------------------- */
.back-to-top {
	position: fixed; right: 1.2rem; bottom: 1.2rem; width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.4); background: linear-gradient(180deg, #2c9bb2, var(--a3-teal-dark));
	color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer; box-shadow: var(--a3-shadow-lg);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, filter 0.15s ease; z-index: 60;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { filter: brightness(1.1); }
@media (max-width: 600px) { .back-to-top { right: 0.85rem; bottom: 0.85rem; width: 42px; height: 42px; } }

.legal-page { max-width: 780px; }
.legal-page h2 { margin-top: 2.2rem; }
.legal-page h3 { margin-top: 1.6rem; color: var(--a3-teal-dark); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--a3-teal); color: #fff; padding: 0.5rem 1rem; z-index: 300; }
.skip-link:focus { left: 1rem; top: 1rem; }

.logo-schriftzug { font-family: var(--font-logo); color: var(--a3-teal); font-weight: 700; white-space: nowrap; }
/* „34" tiefergestellt – wie im Galerie-Design und im Original-Logo. */
/* „34" in derselben Farbe wie „Atelier" – nur tiefergestellt und etwas kleiner. */
.logo-schriftzug .logo-34 { color: inherit; font-size: 0.78em; vertical-align: -0.12em; margin-left: 0.02em; }
