@charset "UTF-8";

/*
Theme Name: Baseline Theme
Theme URI: https://kinerärzte-ulm.de
Description: WordPress Block Theme
Version: 1.0.0
Author: Mark schmid
Text Domain: baseline-theme
*/

/************************************************************************************
*
* Webfonts
*
************************************************************************************/

@font-face {
	font-family: "Baloo 2", sans-serif;
	src: url("/webfonts/Baloo2-VariableFont_wght.ttf")
		format("truetype-variations");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Public Sans";
	src: url("/webfonts/PublicSans-VariableFont_wght.ttf")
		format("truetype-variations");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/************************************************************************************
*
* Root Variablen / Semantic Tokens (Designwerte Bausteine)
*
************************************************************************************/

:root {
	/* FONT FAMILIES */
	--font-heading: "Baloo 2", sans-serif;
	--font-primary: "Public Sans", sans-serif;

	/* --------------------------------------------------------------------- */
	/* FONT WEIGHTS
	/* --------------------------------------------------------------------- */

	--fw-light: 300;
	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;
	--fw-bold: 700;
	--fw-black: 800;
	/* --------------------------------------------------------------------- */
	/* LINE HEIGHTS
	/* --------------------------------------------------------------------- */

	--lh-body: 1.7;
	--lh-heading: 0.92;
	--lh-tight: 1;
	--lh-button: 1;

	/* --------------------------------------------------------------------- */
	/* LETTER SPACING
	/* --------------------------------------------------------------------- */

	--ls-tight: -0.04em;
	--ls-heading: -0.03em;
	--ls-body: -0.01em;
	--ls-wide: 0.04em;

	/* --------------------------------------------------------------------- */
	/* FLUID TYPE SCALE
	/* --------------------------------------------------------------------- */

	--fs-100: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
	--fs-200: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
	--fs-300: clamp(1.35rem, 1.18rem + 0.8vw, 1.75rem); /* ↓ ~8 % */
	--fs-400: clamp(1.75rem, 1.4rem + 1.6vw, 2.7rem); /* ↓ ~10 % */

	/* --------------------------------------------------------------------- */
	/* SEMANTIC TYPOGRAPHY TOKENS
/* --------------------------------------------------------------------- */
	--fs-body: var(--fs-100);
	--fs-lead: var(--fs-200);
	--fs-subtitle: var(--fs-300);
	--fs-title: var(--fs-400);

	/* --------------------------------------------------------------------- */
	/* Color
	/* --------------------------------------------------------------------- */

	--theme-clr-100: #f5f5f5;
	--theme-clr-300: #bcc914;
	--theme-clr-600: #f5876b;
	--theme-clr-900: #4c4949;

	--accent-clr-200: #e7ee88;
	--accent-clr-400: #fcc7ba;

	/* --------------------------------------------------------------------- */
	/* Layout
	/* --------------------------------------------------------------------- */

	--section-spacing-inline: 1rem;

	--space-0: 0px;
	--space-5: clamp(0.31rem, 0.22rem + 0.45vw, 0.63rem);
	--space-10: clamp(0.63rem, 0.45rem + 0.89vw, 1.25rem);
	--space-20: clamp(1.25rem, 0.89rem + 1.79vw, 2.5rem);
	--space-30: clamp(1.88rem, 1.34rem + 2.68vw, 3.75rem);
	--space-40: clamp(3.75rem, 2.68rem + 5.36vw, 7.5rem);
	--space-50: clamp(5rem, 3.57rem + 7.14vw, 10rem);

	--gap-0: 0;
	--gap-1: 1rem;
	--gap-2: 2rem;
	--gap-3: 3rem;

	--border-radius: 0.5em;

	--z-base: 0;
	--z-index-1: 4;
	--z-index-2: 6;
	--z-index-3: 8;
	--z-index-4: 10;
	--z-index-5: 12;
}

/************************************************************************************
*
* BASE CSS
*
************************************************************************************/

@media (prefers-reduced-motion: reduce) {
	:root {
		--motion-duration: 0.05s;
		--submenu-transition: 0.05s ease;
		--transition-standard: 0.05s ease;
	}
}

/* Root stacking context */
#root,
#__next {
	isolation: isolate;
}

/* Box model baseline */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Remove default margin and inherit fonts */
* {
	margin: 0;
	padding: 0;
	font: inherit;
}

/* Smooth scroll baseline */
html {
	min-height:100vh;
  scroll-behavior:smooth;
  scroll-padding-block-start:6em;
  -moz-text-size-adjust:none;
  -webkit-text-size-adjust:none;
  text-size-adjust:none;
  overflow-x:hidden
}

/* Mobile adjustments */
@media (min-width: 40em) {
	html {
		scroll-padding-block-start: 6rem;
	}
}

/* Body baseline */
body {
	font-family: var(--font-primary);
	font-weight: var(--fw-regular);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	background-color: var(--theme-clr-100);
	color: var(--theme-clr-900);
	transition: background-color 0.5s ease, color 0.5s ease;
}

/* Headings, paragraphs, etc. spacing reset */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
	margin-block-end: 0;
}

/* Lists without styling */
ul,
ol,
ul[role="list"],
ol[role="list"] {
	list-style: none;
}

/* Links */
a {
	color: currentColor;
	text-decoration: none;
	cursor: pointer;
	outline: none;
}

/*
a:hover {
	text-decoration-line: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
	text-decoration-color: currentColor;
}*/

a:focus-visible {
	outline: 2px dashed var(--focus-clr);
	outline-offset: 2px;
}

a:not([href]):not([class]):hover {
	color: inherit;
	text-decoration: none;
}

/* Touch devices – disable hover styles */
@media (hover: none) {
	a:hover {
		text-decoration: none;
	}
}

/* Media elements */
img,
picture,
figure,
video,
svg {
	display: block;
	max-inline-size: 100%;
	block-size: auto;
	border: 0;
	image-rendering: -webkit-optimize-contrast;
}

/* Forms */
input,
textarea,
select,
optgroup,
button {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background: transparent;
	border: none;
	margin: 0;
}

textarea {
	resize: vertical;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

/* Address */
address {
	font-style: normal;
	line-height: inherit;
}

/* Strong */
strong {
	font-weight: var(--fw-bold);
}

sub {
	bottom: -0.25em;
}
sup {
	top: -0.5em;
}

th {
	text-align: inherit;
	text-align: start;
}

table {
	caption-side: bottom;
	border-collapse: collapse;
}

th {
	text-align: inherit;
}

thead,
tbody,
tfoot,
tr,
td,
th {
	border-color: inherit;
	border-style: solid;
	border-width: 0;
}

label {
	display: inline-block;
}

iframe {
	border: 0;
}

/* Optional für Firefox (bessere Konsistenz) */
::selection {
	background-color: var(--accent-clr-200);
	color: var(--theme-color-900);
}

::-moz-selection {
	background-color: var(--accent-clr-200);
	color: var(--theme-color-900);
}

/* Safe-area padding helper */
.layout {
	position: relative;
	overflow-x: clip;
	padding: env(safe-area-inset-top) env(safe-area-inset-right)
		env(safe-area-inset-bottom) env(safe-area-inset-left);
}

@supports (padding: max(0px)) {
	.layout {
		padding-left: max(0em, env(safe-area-inset-left));
		padding-right: max(0em, env(safe-area-inset-right));
	}
}

.resize-stopper *,
.resize-stopper *::before,
.resize-stopper *::after {
	transition: none !important;
	animation: none !important;
}

/************************************************************************************
*
* Accessible CSS
*
************************************************************************************/

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: clip;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-links__link {
	background-color: var(--accent-clr-400);
	border-radius: 0.25em;
	color: var(--theme-clr-900);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1;
	padding: 0.75em;
	position: absolute;
	top: 1rem;
	left: 1rem;
	transform: translateY(-320%);
	transition: transform 325ms ease-in;
	z-index: var(--z-index-5);
	&:hover,
	&:focus-visible {
		color: var(--theme-clr-900);
		outline: 2px solid var(--accent-clr-400);
		outline-offset: 2px;
		transform: translateY(0%);
	}
}

.skip-links__link:focus {
	top: env(safe-area-inset-top);
}

/************************************************************************************
*
* Utilities CSS
*
************************************************************************************/

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	line-height: var(--lh-heading);
	font-weight: var(--fw-bold);
	overflow-wrap: break-word;
	word-break: keep-all;
	hyphens: auto;
	max-inline-size: clamp(48ch, 68%, 84ch);
	margin-block-start: -0.15em;
}

@supports (text-wrap: balance) {
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		text-wrap: balance;
	}
}
@supports (text-box-trim: trim-both) {
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		text-box-trim: trim-both;
	}
}

p,
ul,
figcaption {
	font-size: var(--fs-body);
	word-wrap: break-word;
	overflow-wrap: break-word;
}
p:not([class]),
ul:not([class]) {
	margin-block-end: 1rem;
	max-inline-size: 80ch;
}

.section {
	width: 100%;
	position: relative;
}

.section-wide {
	--max-width: 100%;
	--container-spacing-inline: 1rem;
	margin-inline: auto;
	width: min(var(--max-width), 100% - var(--section-spacing-inline) * 2);
}

.section-wide--100 {
	--max-width: 48rem;
}

.section-wide--200 {
	--max-width: 64rem;
}

.section-wide--300 {
	--max-width: 85rem;
}

.space-top--0 {
	padding-top: var(--space-0);
}

.space-top--10 {
	padding-top: var(--space-10);
}

.space-top--20 {
	padding-top: var(--space-20);
}

.space-top--30 {
	padding-top: var(--space-30);
}

.space-top--40 {
	padding-top: var(--space-40);
}
.space-top--50 {
	padding-top: var(--space-50);
}

.space-bottom--0 {
	padding-bottom: var(--space-0);
}

.space-bottom--10 {
	padding-bottom: var(--space-10);
}

.space-bottom--20 {
	padding-bottom: var(--space-20);
}

.space-bottom--30 {
	padding-bottom: var(--space-30);
}

.space-bottom--40 {
	padding-bottom: var(--space-40);
}

.space-bottom--50 {
	padding-bottom: var(--space-50);
}

/************************************************************************************
*
* Template Part Header
*
************************************************************************************/

.site-header {
	position: sticky;
	top: 0;
	width: 100%;
	height: auto;
	padding-block: 1rem;
	z-index: var(--z-index-4);
	background-color: var(--theme-clr-100);
	border-top: 2px solid var(--theme-clr-300);
	box-shadow: 0 0.1rem 0.12rem rgb(12 14 14 / 0.1);
}

.site-header__inner {
	--max-width: 85rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: min(var(--max-width), 100% - var(--section-spacing-inline) * 2);
	margin-inline: auto;
}

.site-header__inner-logo {
	display: block;
	width: 120px;
	height: auto;
}

.site-header__inner-menu ul {
	display: flex;
	align-items: center;
	gap: var(--gap-2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-header__inner-menu a {
	display: inline-flex;
	align-items: center;
	height: 2.5rem;
	padding-inline: 1rem;

	text-decoration: none;
	color: inherit;
	border-radius: 100vw;

	transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header__inner-menu a:hover,
.site-header__inner-menu a:focus-visible {
	background-color: #dad8d8;
}

/* ==========================================================================
   .emergency-link – Notfall-Menüpunkt (Header)
   ========================================================================== */

.emergency-link a {
  display: inline-flex;
  align-items: center;
  background-color: var(--theme-clr-600);
  color: white;
  padding: var(--space-5) var(--space-10);
  border-radius: var(--border-radius);
  font-weight: var(--fw-semibold);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.emergency-link a:hover,
.emergency-link a:focus-visible {
  background-color: var(--theme-clr-900);
  color: white;
}

/* Aktiver Zustand: NICHT die generische .is-active Textfarben-Regel greifen lassen,
   da sie sonst mit dem eigenen Hintergrund kollidiert (Text = Hintergrund = unsichtbar) */
.emergency-link.current-menu-item a,
.emergency-link a.is-active {
  color: white;
  background-color: var(--theme-clr-900);
  box-shadow: 0 0 0 2px var(--theme-clr-600);
}

.site-header__inner-menu a.is-active {
	color: var(--theme-clr-600);
}

.nav-toggle {
	display: none;

	flex-direction: column;
	justify-content: center;
	gap: 0.3rem;

	width: 2.75rem;
	height: 2.75rem;

	border: none;
	background: transparent;
	cursor: pointer;
	z-index: 30;
}

.nav-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: black;

	transition: transform 0.25s ease;
}

@media (max-width: 48rem) {
	.nav-toggle {
		display: flex;
	}

	.site-header__inner-menu {
		position: fixed;

		inset: 0;

		background-color: white;

		padding: 2rem;

		transform: translateY(-120%);
		transition: transform 0.3s ease;

		box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 0.08);
	}

	.site-header__inner-menu.is-open {
		transform: translateY(0);
	}

	.site-header__inner-menu ul {
		flex-direction: column;
		align-items: stretch;
	}

	.site-header__inner-menu a {
		width: 100%;
		justify-content: center;
		padding-block: 1rem;
	}
}
/************************************************************************************
*
* Template Part Footer
*
************************************************************************************/

.site-footer {
	width: 100%;
	position: relative;
	padding-block: 2.5rem;
	background-color: var(--theme-clr-900);
}

.site-footer__inner {
	--max-width: 85rem;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: min(var(--max-width), 100% - var(--section-spacing-inline) * 2);
	margin-inline: auto;
}

.site-footer__inner-block {
	position: relative;
	color: var(--theme-clr-100);
}

.site-footer__inner-block h2 {
	font-size: var(--fs-lead);
	color: var(--theme-clr-300);
}

.site-footer__inner-block p strong {
	font-size: var(--fs-body);
	font-weight: var(--fw-medium);
}

.site-footer__inner-block h2 + p {
	margin-block-end: 1rem;
}

.site-footer__inner-block .contact-list {
	font-size: var(--fs-body);
	line-height: 1.875rem;
}

.site-footer__inner-block .contact-list li span {
	min-width: 5rem;
	display: inline-block;
}

.site-footer__inner-block .contact-list li span {
	font-size: var(--fs-body);
}

.site-footer__inner-block .contact-list li {
	display: list-item;
}

.site-footer__inner-block .contact-list li a {
  text-decoration-color: currentColor;
  text-decoration-line: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: auto;
    text-wrap: nowrap;
}

.site-footer__inner-meta {
	color: var(--theme-clr-100);
}

.site-footer__inner-meta li a:hover {
      text-decoration-color: currentColor;
  text-decoration-line: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: auto;
}

.site-footer__inner-meta li a[aria-current="page"] {
     text-decoration-color: currentColor;
  text-decoration-line: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: auto;
}


/************************************************************************************
*
* Components CSS
*
************************************************************************************/

.button {
	min-width: 240px;
	min-height: 44px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	position: relative;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1;
	padding-block: 0.75em;
	padding-inline: 1em;
	cursor: pointer;
	text-decoration: none;
	border-radius: 0.5rem;
	transition: background-color 0.2s ease-in-out;
}

.button--default {
	background-color: var(--accent-clr-200);
	color: var(--theme-clr-100);
}

.button--outline {
	background: rgb(249 250 240 / 0.3);
	backdrop-filter: blur(8px) saturate(180%);
	border: 2px solid var(--accent-clr-200);
	color: var(--theme-clr-100);
}

@media (hover: hover) and (pointer: fine) {
	.button--default:hover {
		background-color: var(--accent-clr-400);
		color: var(--theme-clr-900);
	}
}

/************************************************************************************
*
* Layout Main / Sections CSS
*
************************************************************************************/

.site-main {
	position: relative;
}

.columns {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: clamp(1rem, 2vw, 2rem);
	align-items: stretch;
}

.columns:not(:last-child) {
	margin-block-end: 2.5rem;
}

/* 2-spaltiges Layout */
.columns[data-layout="2"] .columns__item:nth-child(2) {
	grid-column: span 2;
}

@media (max-width: 900px) {
	.columns {
		grid-template-columns: 1fr;
	}

	.columns[data-layout="2"] .columns__item:nth-child(2) {
		grid-column: auto;
	}
}

.columns[data-layout="50-50"] {
	grid-template-columns: 1fr 1fr;
}

.columns__item {
	display: flex;
}

.columns__item-heading h2 {
	font-size: var(--fs-subtitle);
	color: var(--theme-clr-300);
}
/* Optional: schöne Kartenoptik */

.columns__item-content h3 + ul {
	margin-block-end: 1rem;
}

.columns__item-content {
	width: 100%;
	height: 100%;
}


.team-figure img {
	width: 100%;
	height: auto;
}

@media (max-width: 767px) {
	.team-figure img {
		aspect-ratio: 1 / 1;
		object-fit: cover;
	}
}

/* ==========================================================================
   .extern-links – Liste externer Verweise (Frontpage Columns-Block)
   ========================================================================== */

.columns__item-content h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-200);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  color: var(--theme-clr-900);
  margin: 0 0 var(--space-10);
}

.extern-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.extern-links li {
  border-bottom: 1px solid color-mix(in srgb, var(--theme-clr-900) 12%, transparent);
}

.extern-links li:last-child {
  border-bottom: none;
}

.extern-links a {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-10) 0;
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--theme-clr-900);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

/* Pfeil-Icon als externer Link-Indikator */
.extern-links a::after {
  content: "→";
  flex-shrink: 0;
  font-family: var(--font-primary);
  font-weight: var(--fw-bold);
  color: var(--theme-clr-300);
  transition: transform 0.2s ease, color 0.2s ease;
}

.extern-links a:hover,
.extern-links a:focus-visible {
  color: var(--theme-clr-300);
  padding-left: var(--space-5);
}

.extern-links a:hover::after,
.extern-links a:focus-visible::after {
  transform: translateX(4px);
  color: var(--theme-clr-600);
}

.extern-links a:focus-visible {
  outline: 2px solid var(--theme-clr-300);
  outline-offset: 4px;
  border-radius: var(--border-radius);
}

/* HR schöner */
hr.seperator {
	border: 0;
	height: 1px;
	background-color: color-mix(in srgb, var(--theme-clr-900) 12%, transparent);
	margin: 1.5rem 0;
}

.columns__item-content ul.has-style {
	line-height: 2rem;
	list-style-type: disc;
	list-style-position: outside;
	padding-inline-start: 1rem;
}

.columns__item-content ul.has-style li::marker {
	color: var(--accent-clr-600);
}

.columns__item-content figure {
	margin-block-end: 2rem;
}

.columns__item-content figure img {
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

.columns__item-content h3 {
	font-size: var(--fs-lead);
	color: var(--theme-clr-300);
	margin-block-end: 0.5rem;
}

.section--emergency .columns__item-heading h2,
.section--emergency .columns__item-content h3 {
	color: var(--theme-clr-600);
}

.columns__item-content p a {
  color: var(--theme-clr-900);
  text-decoration-color: currentColor;
  text-decoration-line: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: auto;
  transition: color 0.3s ease;
}

.divider-block {
	width: 100%;
	height: 10px;
	display: block;
	background-color: var(--accent-clr-200);
	position: relative;
}

.divider-block__bar {
	width: 25%;
	height: 10px;
	display: block;
	background-color: var(--theme-clr-300);
}

/* Sonderfarben */
.divider-block--emergency {
	background-color: var(--accent-clr-400);
}

.divider-block--emergency .divider-block__bar {
	background-color: var(--theme-clr-600);
}

/************************************************************************************
*
* Custom CSS
*
************************************************************************************/
/* ==========================================================================
   .section-gutenberg – Styling für native Gutenberg-Blöcke
   (z. B. Rechtliche Seiten, aber überall einsetzbar wo the_content() 
   ungefilterten Block-Output ausgibt)
   ========================================================================== */

/* --- Überschriften-Hierarchie --- */

.section-gutenberg h1 {
  font-size: var(--fs-title);
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  margin: 0 0 var(--space-20);
  color: var(--theme-clr-900);
}

.section-gutenberg .wp-block-heading {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--theme-clr-900);
}

/* h2 – Hauptabschnitte */
.section-gutenberg h2.wp-block-heading {
  font-size: var(--fs-subtitle);
  margin: var(--space-30) 0 var(--space-10);
  padding-top: var(--space-20);
  border-top: 1px solid color-mix(in srgb, var(--theme-clr-900) 15%, transparent);
}

/* erste Überschrift direkt nach dem h1 braucht keinen Trenner */
.section-gutenberg h1 + h2.wp-block-heading {
  margin-top: var(--space-5);
  padding-top: 0;
  border-top: none;
}

/* h3 – Unterabschnitte */
.section-gutenberg h3.wp-block-heading {
  font-size: var(--fs-200);
  margin: var(--space-20) 0 var(--space-10);
}

/* h4 – kleine Zwischentitel (z. B. "Zuständige Kammer") */
.section-gutenberg h4.wp-block-heading {
  font-size: var(--fs-100);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: color-mix(in srgb, var(--theme-clr-900) 70%, transparent);
  margin: var(--space-20) 0 var(--space-5);
}

/* --- Fließtext --- */

.section-gutenberg .wp-block-paragraph {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--theme-clr-900);
  margin: 0 0 var(--space-10);
}

.section-gutenberg .wp-block-paragraph:last-child {
  margin-bottom: 0;
}

/* --- Listen (Adress-/Kontaktblöcke) --- */

.section-gutenberg .wp-block-list {
  list-style: none;
  margin: 0 0 var(--space-20);
  padding: 0;
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.section-gutenberg .wp-block-list li {
  padding: var(--space-5) 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--theme-clr-900) 20%, transparent);
}

.section-gutenberg .wp-block-list li:last-child {
  border-bottom: none;
}

/* --- Links --- */

.section-gutenberg a {
  color: var(--theme-clr-600);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.section-gutenberg a:hover,
.section-gutenberg a:focus-visible {
  color: var(--theme-clr-900);
}

/* --- Responsive Feinschliff --- */

@media (max-width: 600px) {
  .section-gutenberg h2.wp-block-heading {
    font-size: var(--fs-200);
  }
}
/************************************************************************************
*
* State Layers CSS
*
************************************************************************************/

/* ========================= */
/* INTERACTION LAYER
/* ========================= */
@media (hover: hover) and (pointer: fine) {
}

/* ========================= */
/* MOTION LAYER
/* ========================= */
@media (prefers-reduced-motion: no-preference) {
	/* optional: CSS transitions/animations */
}

/* ========================= */
/* LAYOUT SYSTEM
/* ========================= */
@media (min-width: 48em) {
	/* grid / layout overrides */
}
