/* G Power – Rechtsseiten, Dankeseite, Cookie-Seite. Geladen nach style.css (inc/gp-design.php). */
/* Impressum 149, Datenschutz 152, AGB 340, Cookie-Richtlinie 158: Kopf .gp-recht-kopf, Text .gp-recht .gp-recht__text */
/* Dankeseite 1367: .gp-danke (Text aus templates/thankyoupage.php) */

/*--- Kopf der Rechtsseiten ---*/
#top .gp-recht-kopf h1.hl-xl {max-width: 960px; margin: 0; font-size: 56px; line-height: 1.08; hyphens: auto; overflow-wrap: break-word; text-wrap: balance;}
#top .gp-recht-kopf p.hl-xs {max-width: 760px; margin: 20px 0 0;}
#top .gp-recht-kopf .button-row {margin-top: 12px;}

/*--- Lesespalte ---*/
#top .gp-recht .gp-recht__text {max-width: 760px; margin: 0; font-size: 18px; line-height: 1.7; text-align: left; color: var(--black);}
#top .gp-recht .gp-recht__text .avia_textblock {font-size: 18px; line-height: 1.7;}
#top .gp-recht__text p,
#top .gp-recht__text li {font-size: 18px; line-height: 1.7; color: var(--black);}
#top .gp-recht__text p {margin: 0 0 18px;}
#top .gp-recht__text strong {font-weight: 600;}

/* Überschriften: schwarz, maßvoll, ohne Großbuchstaben */
#top .gp-recht__text h2 {margin: 48px 0 14px; padding: 0; font-size: 26px; line-height: 1.3; letter-spacing: -0.015em !important; color: var(--black); text-wrap: balance;}
#top .gp-recht__text h3 {margin: 32px 0 10px; padding: 0; font-size: 21px; line-height: 1.35; letter-spacing: -0.01em !important; color: var(--black);}
#top .gp-recht__text h4 {margin: 26px 0 8px; padding: 0; font-size: 18px; line-height: 1.45; letter-spacing: 0 !important; color: var(--black);}
#top .gp-recht__text h2:first-child,
#top .gp-recht__text .avia_textblock > h2:first-child,
#top .gp-recht__text hr + h2 {margin-top: 0;}
#top .gp-recht__text h2 + h3 {margin-top: 20px;}

/* Trennlinien (AGB) */
#top .gp-recht__text hr {height: 0; margin: 40px 0; border: 0; border-top: 1px solid var(--line); background: none;}

/* Listen */
#top .gp-recht__text ul,
#top .gp-recht__text ol {margin: 0 0 20px 1.4em; padding: 0;}
#top .gp-recht__text ul {list-style: disc outside;}
#top .gp-recht__text ul.square {list-style-type: square;}
#top .gp-recht__text ol {list-style: decimal outside;}
#top .gp-recht__text li {margin: 0 0 8px; padding-left: 4px;}
#top .gp-recht__text li::marker {color: var(--grey);}

/* Aufzählungen im Fließtext „(1) …“ enger und mit hängendem Einzug */
#top .gp-recht__text p.gp-recht__punkt {margin: 0 0 8px; padding-left: 1.6em; text-indent: -1.6em;}
#top .gp-recht__text p.gp-recht__punkt + p:not(.gp-recht__punkt) {margin-top: 18px;}

/* Tabellen */
#top .gp-recht__text table {width: 100%; margin: 0 0 24px; border: 0; border-collapse: collapse; background: transparent; font-size: 16px;}
#top .gp-recht__text th,
#top .gp-recht__text td {padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--black); text-align: left; vertical-align: top; line-height: 1.5;}
#top .gp-recht__text th {font-weight: 600;}

/* Links im Text deutlich erkennbar */
#top .gp-recht__text a:not(.content-link) {color: inherit; font-weight: 500; text-decoration: underline; text-decoration-color: var(--secondary); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere;}
#top .gp-recht__text a:not(.content-link):hover,
#top .gp-recht__text a:not(.content-link):focus {text-decoration-color: currentcolor;}

/* Offene Prüfpunkte „[KLÄREN: …]“ im Entwurf (Datenschutz 10/2026) – vor Live entfernen */
#top .gp-recht__text mark {padding: 0 0.2em; background: #fff1a8; color: inherit; font-size: 0.92em; box-decoration-break: clone; -webkit-box-decoration-break: clone;}

/* Schlusszeile AGB */
#top .gp-recht__text p.footer {margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--grey);}

/*--- Dankeseite (Text kommt aus templates/thankyoupage.php: h3 + p) ---*/
#top .gp-danke h1.subline.upper {margin: 0 0 14px; font-size: 14px; font-weight: 600 !important; line-height: 1.4; letter-spacing: 0.18em !important; text-transform: uppercase !important; color: var(--grey);}
#top .gp-danke .gp-danke__text .align-center {text-align: left !important;} /* style.css: .align-center mit !important */
#top .gp-danke .gp-danke__text h3 {margin: 0; font-size: 68px; line-height: 1.04; letter-spacing: -0.025em !important; text-align: left !important; color: var(--black); text-wrap: balance;}
#top .gp-danke .gp-danke__text p {margin: 24px 0 0; font-size: 22px; line-height: 1.45; font-weight: 300 !important; text-align: left !important; color: var(--grey);}
#top .gp-danke .button-row {margin-top: 12px;}

/*--- Tablet und Handy ---*/
@media only screen and (max-width: 989px) {
	.responsive #top .gp-recht-kopf h1.hl-xl {font-size: 40px; line-height: 1.1;}
	.responsive #top .gp-danke .gp-danke__text h3 {font-size: 40px; line-height: 1.1;}
}

@media only screen and (max-width: 767px) {
	.responsive #top .gp-recht-kopf h1.hl-xl {font-size: 32px; line-height: 1.15;}
	.responsive #top .gp-recht-kopf p.hl-xs {font-size: 19px;}
	.responsive #top .gp-recht__text p,
	.responsive #top .gp-recht__text li {font-size: 17px; line-height: 1.65;}
	.responsive #top .gp-recht__text h2 {margin-top: 40px; font-size: 22px;}
	.responsive #top .gp-recht__text h3 {font-size: 19px;}
	.responsive #top .gp-recht__text hr {margin: 32px 0;}
	.responsive #top .gp-recht__text table {display: block; overflow-x: auto;}
	.responsive #top .gp-danke .gp-danke__text h3 {font-size: 32px; line-height: 1.15;}
	.responsive #top .gp-danke .gp-danke__text p {font-size: 19px;}
}
