/*
Egner Epithetik Template
creation Date: 2026-11-12
Author: Sebastian Osinski
http://www.sebbi.net
https://ddm-friends.de
*/

/* ===========================================================================
   DESIGN TOKENS
   Binding: styleguide/README.md. Spacing, containers, radii and motion come
   only from these variables (colors: colors.css, fonts: fonts.css). Values
   for smaller screens are set in responsive.css.
   =========================================================================== */
:root{
	/* spacing, 8px grid */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;
	--space-9: 96px;
	--space-10: 144px;

	/* section padding (.extrawidepad, .widepad, .regpad, .lowpad) */
	--pad-xl: 160px;
	--pad-l: 120px;
	--pad-m: 80px;
	--pad-s: 40px;

	/* containers */
	--container: 1200px;        /* standard: grid, tiles, columns */
	--container-wide: 1440px;   /* header, footer, intro */
	--container-narrow: 760px;  /* reading width, ~70 characters */
	--gutter: 40px;             /* page margin, kept on every width */
	--grid-gap: 32px;

	/* header */
	--header-h: 104px;
	--logo-h: 78px;
	--header-h-small: 76px;     /* desktop, after scrolling down */
	--logo-h-small: 56px;

	/* corners: 2px for controls only - images and surfaces stay square */
	--radius: 2px;
	--radius-round: 100px;      /* chips, round icon buttons */

	/* depth: one shadow for floating layers (consent notice, modal) */
	--shadow: 0 12px 40px var(--color-shadow);

	/* motion */
	--dur-fast: 160ms;          /* color changes on hover */
	--dur: 320ms;               /* lines, opening, rotating */
	--dur-slow: 900ms;          /* image zoom */
	--ease: cubic-bezier(0.25, 0.6, 0.25, 1);

	/* sand plane: how far it reaches below its image */
	--plane-offset: 64px;
}


/* ===========================================================================
   BASE
   =========================================================================== */
*{
	margin: 0px;
	padding: 0px;
}
*, *::before, *::after{
	box-sizing: border-box;
}
body, html{
	font-family: var(--font-text);
	font-weight: var(--weight-text);
	font-size: var(--fs-text);
	line-height: var(--lh-text);
	width: 100%;
	height: auto;
	/* clip instead of hidden: hidden would make body the scroll container
	   and switch off the sticky header */
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
textarea, input, select, button{
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}
img{
	border: none;
	max-width: 100%;
}
a{
	color: inherit;
	text-decoration: none;
}
a.anchorlink{
	line-height: 0px;
	height: 0px;
	font-size: 0px;
}
table{
	width: 100%;
	border-collapse: collapse;
}
td{
	vertical-align: top;
	position: relative;
}


/* ===========================================================================
   TYPOGRAPHY
   Every role exists as element (h1, p, ...) and as class (.font_h1, ...), so
   an element can look like another role without changing its semantics
   (e.g. <p class="font_h6"> as kicker, <h2 class="font_display"> in the
   intro). Sections never set their own font sizes.
   =========================================================================== */
h1, h2, h3, h4,
.font_display, .font_h1, .font_h2, .font_h3, .font_h4{
	font-family: var(--font-head);
	font-weight: var(--weight-head);
	font-style: normal;
	letter-spacing: var(--ls-head);
	color: var(--color-head);
	text-wrap: balance;
	hyphens: manual;
	overflow-wrap: break-word;
}
.font_display{
	font-size: var(--fs-display);
	line-height: var(--lh-display);
	letter-spacing: var(--ls-display);
}
h1, .font_h1{
	font-size: var(--fs-h1);
	line-height: var(--lh-h1);
}
h2, .font_h2{
	font-size: var(--fs-h2);
	line-height: var(--lh-h2);
}
h3, .font_h3{
	font-size: var(--fs-h3);
	line-height: var(--lh-h3);
}
h4, .font_h4{
	font-size: var(--fs-h4);
	line-height: var(--lh-h4);
	letter-spacing: 0;
}
/* h5 = small sans heading (table captions, footer columns) */
h5, .font_h5{
	font-family: var(--font-text);
	font-weight: var(--weight-strong);
	font-size: var(--fs-h5);
	line-height: var(--lh-h5);
	letter-spacing: 0;
	color: var(--color-head);
}
/* h6 / .font_h6 = kicker above a headline: sentence case, umber
   (peach on dark surfaces). Only where it carries information. */
h6, .font_h6{
	font-family: var(--font-text);
	font-weight: var(--weight-ui);
	font-size: var(--fs-h6);
	line-height: var(--lh-h6);
	letter-spacing: var(--ls-kicker);
	color: var(--color-kicker);
}
.font_quote{
	font-family: var(--font-head);
	font-weight: var(--weight-head);
	font-style: italic;
	font-size: var(--fs-quote);
	line-height: var(--lh-quote);
	letter-spacing: -0.01em;
	color: var(--color-head);
}
.font_text{
	font-family: var(--font-text);
	font-weight: var(--weight-text);
	font-size: var(--fs-text);
	line-height: var(--lh-text);
	letter-spacing: normal;
}
.font_l,
.font_l p,
.font_l li{
	font-size: var(--fs-lead);
	line-height: var(--lh-lead);
}
.font_s,
.font_s p,
.font_s li{
	font-size: var(--fs-small);
	line-height: var(--lh-small);
	font-weight: var(--weight-ui);
}
.font_ui{
	font-family: var(--font-text);
	font-weight: var(--weight-ui);
	font-size: var(--fs-ui);
	line-height: var(--lh-ui);
	letter-spacing: var(--ls-ui);
}
.bold, b, strong{
	font-weight: var(--weight-strong);
}
h1 b, h1 strong, h2 b, h2 strong, h3 b, h3 strong, h4 b, h4 strong{
	font-weight: var(--weight-head);
}
.italic, em, i{
	font-style: italic;
}
.hyphenate,
.hyphenate p,
.hyphenate li{
	hyphens: auto;
	-webkit-hyphens: auto;
}
.tabular{
	font-variant-numeric: tabular-nums;
}

/* running text (.contstyles): vertical rhythm, lists, quotes */
p,
.contstyles li{
	position: relative;
}
.contstyles > * + *,
.contstyles .main-container > * + *{
	margin-top: 1em;
}
.contstyles * + h2{
	margin-top: 1.6em;
}
.contstyles * + h3,
.contstyles * + h4,
.contstyles * + h5{
	margin-top: 1.4em;
}
.contstyles h1 + *,
.contstyles h2 + *,
.contstyles h3 + *,
.contstyles h4 + *,
.contstyles h5 + *{
	margin-top: 0.6em;
}
.contstyles .font_h6 + h1,
.contstyles .font_h6 + h2,
.contstyles .font_h6 + h3,
.contstyles .font_h6 + .font_display{
	margin-top: 0.5em;
}
.contstyles ul{
	list-style: none;
}
.contstyles ul > li{
	padding-left: 1.4em;
}
.contstyles ul > li::before{
	content: "";
	position: absolute;
	left: 0px;
	top: 0.85em;
	width: 0.7em;
	height: 1px;
	background-color: var(--color-taupe);
}
.contstyles ol{
	padding-left: 1.4em;
}
.contstyles ol > li::marker{
	font-family: var(--font-head);
	color: var(--color-taupe);
}
.contstyles li + li{
	margin-top: 0.35em;
}
.contstyles blockquote{
	padding-left: var(--space-5);
	border-left: 1px solid var(--color-sand);
	font-family: var(--font-head);
	font-style: italic;
	font-size: var(--fs-h4);
	line-height: var(--lh-h4);
	color: var(--color-head);
}
.contstyles hr{
	border: none;
	border-top: 1px solid var(--color-line);
}
p.nomarg_top{
	margin-top: 0px;
}
p.nomarg_bot{
	margin-bottom: 0px;
}
p.nomarg{
	margin-top: 0px;
	margin-bottom: 0px;
}


/* ===========================================================================
   HELPERS
   =========================================================================== */
.hidden{
	visibility: hidden;
}
.visible{
	visibility: visible;
}
.visually-hidden{
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.center{
	text-align: center;
}
/* keeps a compound name on one line (Neu-Ulm) */
.nowrap{
	white-space: nowrap;
}
.left{
	text-align: left;
}
.right{
	text-align: right;
}
.nocase{
	text-transform: none;
}
.underline{
	text-decoration: underline;
}
.nounderline,
.nounderline *:hover{
	text-decoration: none !important;
}
.inline{
	display: inline;
}
.relative{
	position: relative;
}
.block{
	display: block;
	position: relative;
}
/* clip instead of hidden: cuts the same way but is no scroll container -
   position: sticky inside keeps working */
.nooverflow{
	overflow: clip;
}
.overflow{
	overflow: visible;
}
.functionpad{
	padding-top: 1px;
	padding-bottom: 1px;
}
.fields-container,
.page-header{
	display: none;
}
.linkoverlay{
	position: absolute !important;
	inset: 0px;
	z-index: 4;
}


/* ===========================================================================
   CONTAINERS AND SECTIONS
   .main-container          1200px  standard: grid, tiles, columns
   .main-container.wide     1440px  header, footer, intro
   .main-container.narrow    760px  reading width (~70 characters at 18px)
   The page margin (--gutter) stays on every width.
   =========================================================================== */
.main-container{
	position: relative;
	width: var(--container);
	max-width: calc(100% - 2 * var(--gutter));
	margin-left: auto;
	margin-right: auto;
}
.main-container.wide{
	width: var(--container-wide);
}
.main-container.narrow{
	width: var(--container-narrow);
}
.main-container.fullheight{
	display: block;
	height: 100%;
}
/* sections clip what runs out to the viewport edge (sand plane) */
.cont-block{
	position: relative;
	display: block;
	width: 100%;
	overflow-x: clip;
}

/* vertical section padding (--pad-*). Two sections with the same background
   share their padding: the second one only gets _bot. */
.extrawidepad{
	padding-top: var(--pad-xl);
	padding-bottom: var(--pad-xl);
}
.widepad{
	padding-top: var(--pad-l);
	padding-bottom: var(--pad-l);
}
.widepad_top{
	padding-top: var(--pad-l);
}
.widepad_bot{
	padding-bottom: var(--pad-l);
}
.regpad{
	padding-top: var(--pad-m);
	padding-bottom: var(--pad-m);
}
.regpad_top{
	padding-top: var(--pad-m);
}
.regpad_bot{
	padding-bottom: var(--pad-m);
}
.lowpad{
	padding-top: var(--pad-s);
	padding-bottom: var(--pad-s);
}
.lowpad_top{
	padding-top: var(--pad-s);
}
.lowpad_bot{
	padding-bottom: var(--pad-s);
}
/* article text (PAGE CONTENT in the override): .widepad is added by
   functions.js only if the article has text */
.autowidepad:empty{
	display: none;
}

/* 12-column grid: <div class="ddm_grid"><div class="col_6">... */
.ddm_grid{
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--grid-gap);
}
.col_3{ grid-column: span 3; }
.col_4{ grid-column: span 4; }
.col_5{ grid-column: span 5; }
.col_6{ grid-column: span 6; }
.col_7{ grid-column: span 7; }
.col_8{ grid-column: span 8; }
.col_12{ grid-column: span 12; }

.flexwrap{
	display: flex;
	justify-content: space-between;
	flex-flow: row wrap;
}
.flexbox{
	position: relative;
}
.flexbox._half{
	width: 48%;
}
.flexbox._third{
	width: 31%;
}
.flexbox._full{
	width: 100%;
}

/* section head: heading + intro left, optional text link right */
.ddm_sectionhead{
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--space-6);
	margin-bottom: var(--space-7);
}
.ddm_sectionhead > div{
	max-width: 640px;
}
.ddm_sectionhead p{
	margin-top: var(--space-4);
}

.linespacer{
	display: block;
	width: 100%;
	height: 1px;
	margin-block: var(--space-5);
	background-color: var(--color-line);
}

/* SAND PLANE - the signature device. A sand surface behind an image that
   starts under it and runs out to the viewport edge (right, or left with
   ._left). The section (.cont-block) clips it.
   <div class="ddm_plane"><img ...></div> */
.ddm_plane{
	position: relative;
}
.ddm_plane::before{
	content: "";
	position: absolute;
	z-index: 0;
	top: 22%;
	bottom: calc(-1 * var(--plane-offset));
	left: 28%;
	right: calc(-1 * (100vw - 100%));
	background-color: var(--color-sand);
}
.ddm_plane._left::before{
	left: calc(-1 * (100vw - 100%));
	right: 28%;
}
.ddm_plane > *{
	position: relative;
	z-index: 1;
}

/* background image of a section (with .bg_parallax in template.js) */
.section_bg{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
	width: 100%;
	height: auto;
}
.overlay_mask{
	position: absolute;
	inset: 0px;
}


/* ===========================================================================
   IMAGES
   Images and surfaces are square-cornered. Product photos (black backdrop)
   sit in .ddm_media frames like exhibits.
   =========================================================================== */
img.cont_img{
	max-width: 100% !important;
	height: auto !important;
}
img.fullsize{
	display: block;
	width: 100%;
}
img.maxSize{
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}
img.absimg{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
/* frame with fixed ratio: <div class="ddm_media _4x3"><img></div> */
.ddm_media{
	position: relative;
	overflow: hidden;
	background-color: var(--color-linen);
}
.ddm_media._4x3{ aspect-ratio: 4 / 3; }
.ddm_media._3x2{ aspect-ratio: 3 / 2; }
.ddm_media._16x9{ aspect-ratio: 16 / 9; }
.ddm_media._4x5{ aspect-ratio: 4 / 5; }
.ddm_media._dark{
	background-color: var(--color-black);
}
.ddm_media > img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-slow) var(--ease);
}
a:hover .ddm_media > img,
.ddm_zoom:hover .ddm_media > img{
	transform: scale(1.035);
}
.ddm_caption{
	margin-top: var(--space-3);
	font-size: var(--fs-small);
	line-height: var(--lh-small);
	font-weight: var(--weight-ui);
	color: var(--color-meta);
}


/* ===========================================================================
   LAYERS
   =========================================================================== */
#topmenu-wrapper{
	z-index: 20;
}
.zindex3{
	z-index: 3;
}
#content-wrapper,
.zindex2{
	z-index: 2;
}
.cont-block,
.zindex1{
	z-index: 1;
}
.zeroindex{
	z-index: 0;
}


/* ===========================================================================
   TRANSITIONS
   Motion only where it answers an action (hover, opening) - plus the one
   orchestrated moment of the site: the mosaic head in the home intro.
   =========================================================================== */
a{
	transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
@media (prefers-reduced-motion: reduce){
	*, *::before, *::after{
		transition-duration: 0ms !important;
		animation-duration: 1ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}


/* ===========================================================================
   CONTENT WRAPPER
   =========================================================================== */
#content-wrapper{
	overflow: visible;
}
#content-wrapper:focus{
	outline: none;
}


/* ===========================================================================
   BUTTONS
   Link variant:   <a class="contentbutton _primary" href="">Text</a>
   Button variant: <button class="contentbutton _primary">Text</button>
     _primary    espresso, white text - the one main action per section
     _secondary  espresso outline - alternative
     _inverse    sand, espresso text - main action on dark surfaces
     _outline    white outline - alternative on dark surfaces
     _small      44px (default 52px)
   At most two buttons side by side (.ddm_buttons), stacked full width on
   phones. Label = what happens („Nachricht senden“, not „Absenden“).
   =========================================================================== */
.contentbutton{
	--btn-h: 52px;
	--btn-pad: 28px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-3);
	min-height: var(--btn-h);
	padding: 0px var(--btn-pad);
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: none;
	font-family: var(--font-text);
	font-weight: var(--weight-ui);
	font-size: var(--fs-ui);
	line-height: var(--lh-ui);
	letter-spacing: var(--ls-ui);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.contentbutton._small{
	--btn-h: 44px;
	--btn-pad: 20px;
}
.contentbutton._primary{
	background-color: var(--color-espresso);
	border-color: var(--color-espresso);
	color: var(--color-white);
}
.contentbutton._primary:hover{
	background-color: var(--color-umber);
	border-color: var(--color-umber);
}
.contentbutton._secondary{
	border-color: var(--color-espresso);
	color: var(--color-espresso);
}
.contentbutton._secondary:hover{
	background-color: var(--color-espresso);
	color: var(--color-white);
}
.contentbutton._inverse{
	background-color: var(--color-sand);
	border-color: var(--color-sand);
	color: var(--color-espresso);
}
.contentbutton._inverse:hover{
	background-color: var(--color-white);
	border-color: var(--color-white);
}
.contentbutton._outline{
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--color-white);
}
.contentbutton._outline:hover{
	background-color: var(--color-white);
	color: var(--color-espresso);
}
.contentbutton:disabled,
.contentbutton._disabled{
	background-color: var(--color-line);
	border-color: var(--color-line);
	color: var(--color-stone);
	cursor: not-allowed;
}
.ddm_buttons{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-4);
}

/* text link with arrow: „Mehr erfahren“, „Alle Leistungen“ */
.ddm_textlink{
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-family: var(--font-text);
	font-weight: var(--weight-ui);
	font-size: var(--fs-ui);
	line-height: var(--lh-ui);
	letter-spacing: var(--ls-ui);
	color: var(--color-link);
}
.ddm_textlink .ddm_icon{
	transition: transform var(--dur-fast) var(--ease);
}
.ddm_textlink:hover .ddm_icon{
	transform: translateX(4px);
}


/* ===========================================================================
   LINKS WITH LINE
   Standard for every content section: each section carries
   .linehover_links. The line grows in from the left on hover and takes the
   link color (currentColor).
   =========================================================================== */
.linehover_links a{
	position: relative;
	text-decoration: none;
}
.linehover_links a::after{
	content: '';
	position: absolute;
	left: 0px;
	bottom: -2px;
	height: 1px;
	width: 0px;
	background-color: currentColor;
	transition: width var(--dur) var(--ease);
}
.linehover_links a:hover::after,
.linehover_links a:focus-visible::after{
	width: 100%;
}
/* links inside running text are underlined as well - color alone is not
   enough to tell them apart (WCAG 1.4.1); the underline gives way to the
   growing line on hover */
.contstyles p a,
.contstyles li a,
.contstyles td a{
	color: var(--color-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}
.contstyles p a:hover,
.contstyles li a:hover,
.contstyles td a:hover{
	text-decoration-color: transparent;
}
/* text links (arrow / icon) are recognisable without underline */
.contstyles p a.ddm_textlink{
	text-decoration: none;
}
.linehover_links .contentbutton::after,
.linehover_links .linkoverlay::after,
.linehover_links .nolinehover::after,
.linehover_links a:has(img)::after{
	display: none;
}


/* ===========================================================================
   FOCUS AND SKIP LINK
   =========================================================================== */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible{
	outline: 2px solid var(--color-focus);
	outline-offset: 3px;
}
.ddm_skip{
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 120;
	padding: 10px 18px;
	background-color: var(--color-espresso);
	color: var(--color-white);
	font-weight: var(--weight-ui);
	font-size: var(--fs-ui);
	transform: translateY(-200%);
	transition: transform 200ms ease;
}
.ddm_skip:focus{
	transform: translateY(0px);
}


/* ===========================================================================
   FORMS
   <div class="ddm_field"><label for="x">Name <span class="req">*</span></label>
   <input id="x"></div>; error: .ddm_field._error + .ddm_field_msg.
   Fields white, 1px mink border, 52px; focus = espresso border + sand halo.
   Forms sit on linen (.ddm_form) or white.
   =========================================================================== */
.ddm_form{
	padding: var(--space-8);
	background-color: var(--color-linen);
}
.ddm_form_grid{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-5);
}
.ddm_field{
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}
.ddm_field._full,
.ddm_form_grid > ._full{
	grid-column: 1 / -1;
}
.ddm_field label{
	font-size: var(--fs-small);
	line-height: var(--lh-small);
	font-weight: var(--weight-ui);
	color: var(--color-text);
}
.ddm_field .req{
	color: var(--color-umber);
}
.ddm_field input,
.ddm_field select,
.ddm_field textarea{
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	background-color: var(--color-white);
	border: 1px solid var(--color-mink);
	border-radius: var(--radius);
	font-size: var(--fs-field);
	line-height: 1.5;
	font-weight: var(--weight-ui);
	color: var(--color-espresso);
	transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.ddm_field textarea{
	min-height: 160px;
	resize: vertical;
}
.ddm_field input::placeholder,
.ddm_field textarea::placeholder{
	color: var(--color-stone);
	font-weight: var(--weight-text);
}
.ddm_field input:hover,
.ddm_field select:hover,
.ddm_field textarea:hover{
	border-color: var(--color-stone);
}
.ddm_field input:focus,
.ddm_field select:focus,
.ddm_field textarea:focus{
	outline: none;
	border-color: var(--color-espresso);
	box-shadow: 0 0 0 3px var(--color-sand);
}
.ddm_field input:disabled,
.ddm_field select:disabled,
.ddm_field textarea:disabled{
	background-color: var(--color-linen);
	color: var(--color-stone);
	cursor: not-allowed;
}
.ddm_field select{
	appearance: none;
	-webkit-appearance: none;
	padding-right: 48px;
	cursor: pointer;
	background: var(--color-white) url("../svg/tabler/chevron-down.svg") right 16px center / 20px no-repeat;
}
.ddm_field._error input,
.ddm_field._error select,
.ddm_field._error textarea{
	border-color: var(--color-error);
	box-shadow: inset 3px 0 0 var(--color-error);
}
/* message below a field */
.ddm_field_msg{
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-small);
	line-height: var(--lh-small);
	font-weight: var(--weight-ui);
	color: var(--color-error);
}
.ddm_field_hint{
	font-size: var(--fs-small);
	line-height: var(--lh-small);
	font-weight: var(--weight-ui);
	color: var(--color-meta);
}
/* checkbox / radio with text */
.ddm_check{
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	font-size: var(--fs-small);
	line-height: var(--lh-small);
	font-weight: var(--weight-ui);
	cursor: pointer;
}
.ddm_check input{
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border: 1px solid var(--color-mink);
	border-radius: var(--radius);
	background-color: var(--color-white);
	cursor: pointer;
}
.ddm_check input[type="radio"]{
	border-radius: 50%;
}
.ddm_check input[type="checkbox"]:checked{
	background: var(--color-espresso) url("../svg/check-white.svg") center / 16px no-repeat;
	border-color: var(--color-espresso);
}
.ddm_check input[type="radio"]:checked{
	background: var(--color-white);
	box-shadow: inset 0 0 0 6px var(--color-espresso);
}
.ddm_check input:focus-visible{
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
}
.ddm_check a{
	color: var(--color-link);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ddm_form_foot{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--space-5);
}


/* ===========================================================================
   NOTICES
   <div class="ddm_notice"><span class="ddm_icon i_info-circle _20"></span>
   <p><strong>Title</strong>Text</p></div>  - variants _success, _error.
   Joomla system messages use the same look.
   =========================================================================== */
.ddm_notice{
	display: flex;
	gap: var(--space-4);
	padding: var(--space-5);
	border-left: 3px solid var(--color-taupe);
	background-color: var(--color-linen);
	font-size: var(--fs-small);
	line-height: var(--lh-small);
	font-weight: var(--weight-ui);
}
.ddm_notice .ddm_icon{
	margin-top: 1px;
	color: var(--color-umber);
}
.ddm_notice strong{
	display: block;
}
.ddm_notice._success{
	border-color: var(--color-success);
	background-color: var(--color-success-tint);
}
.ddm_notice._success .ddm_icon{
	color: var(--color-success);
}
.ddm_notice._error{
	border-color: var(--color-error);
	background-color: var(--color-error-tint);
}
.ddm_notice._error .ddm_icon{
	color: var(--color-error);
}
#system-message-container .alert{
	width: var(--container-narrow);
	max-width: calc(100% - 2 * var(--gutter));
	margin: var(--space-6) auto;
	padding: var(--space-5);
	border-left: 3px solid var(--color-taupe);
	background-color: var(--color-linen);
	font-size: var(--fs-small);
	font-weight: var(--weight-ui);
}


/* ===========================================================================
   TABLES
   <table class="ddm_table">: hairline rows, header in Fira Medium,
   numbers tabular. Opening hours: .ddm_table._compact.
   =========================================================================== */
.ddm_table{
	font-size: var(--fs-small);
	line-height: var(--lh-small);
	font-weight: var(--weight-ui);
}
.ddm_table caption{
	text-align: left;
	padding-bottom: var(--space-3);
	font-size: var(--fs-h5);
	line-height: var(--lh-h5);
	font-weight: var(--weight-strong);
	color: var(--color-head);
}
.ddm_table th,
.ddm_table td{
	padding: var(--space-3) var(--space-4) var(--space-3) 0px;
	border-bottom: 1px solid var(--color-line);
	text-align: left;
	font-variant-numeric: tabular-nums;
}
.ddm_table thead th{
	font-weight: var(--weight-strong);
	border-bottom-color: var(--color-mink);
}
.ddm_table tbody th{
	font-weight: var(--weight-ui);
}
.ddm_table._compact th,
.ddm_table._compact td{
	padding-block: var(--space-2);
}


/* ===========================================================================
   KLARO (consent)
   Colors and fonts are set in js/config.js via styling; here only what
   Klaro does not offer as a setting.
   =========================================================================== */
.klaro .cookie-notice:not(.cookie-modal-notice){
	border: 1px solid var(--color-line);
	box-shadow: var(--shadow);
}
.klaro .cookie-notice,
.klaro .cookie-modal{
	font-family: var(--font-text);
	font-weight: var(--weight-ui);
}
.klaro .cookie-notice a,
.klaro .cookie-modal a,
.klaro .cm-link.cn-learn-more{
	color: var(--color-umber) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.klaro .cm-btn{
	font-family: var(--font-text) !important;
	font-weight: var(--weight-ui) !important;
	font-size: 15px !important;
	padding: 10px 18px !important;
	border-radius: var(--radius) !important;
}
.klaro .cm-btn.cm-btn-success,
.klaro .cm-btn.cm-btn-success-var,
.klaro .cm-btn.cm-btn-accept-all{
	background-color: var(--color-espresso) !important;
	color: var(--color-white) !important;
}
.klaro .cm-btn.cm-btn-danger,
.klaro .cm-btn.cn-decline{
	background-color: transparent !important;
	border: 1px solid var(--color-espresso) !important;
	color: var(--color-espresso) !important;
}
.klaro .cookie-modal .cm-modal .cm-header h1,
.klaro .cookie-notice .cn-body h2{
	font-family: var(--font-head);
	font-weight: var(--weight-head);
}


/* ===========================================================================
   EMBED WITH CONSENT (map, video)
   Markup from ddm_renderConsentEmbed() in the article override, logic in
   ddm_initConsentEmbeds() (functions.js). Without consent the notice box
   covers the empty frame; with consent (._granted) only the frame shows.
   =========================================================================== */
.ddm_embed{
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: var(--color-linen);
	overflow: hidden;
}
.ddm_embed_frame{
	position: absolute;
	inset: 0px;
	width: 100%;
	height: 100%;
	border: 0px;
}
.ddm_embed_notice{
	position: absolute;
	inset: 0px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-4);
	padding: var(--space-5);
	text-align: center;
	background-color: var(--color-linen);
	color: var(--color-espresso);
	overflow-y: auto;
}
.ddm_embed_notice p{
	max-width: 560px;
}
.ddm_embed_settings{
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--color-link);
}
.ddm_embed._granted .ddm_embed_notice,
.ddm_embed._granted .ddm_embed_backdrop{
	display: none;
}
/* decorative placeholder behind the notice (optional) */
.ddm_embed_backdrop{
	position: absolute;
	inset: 0px;
	z-index: 1;
}
/* with a backdrop the notice is a strip along the lower edge */
.ddm_embed_notice._onbackdrop{
	top: auto;
	padding: var(--space-5) var(--space-6);
	background-color: var(--color-white);
	border-top: 1px solid var(--color-line);
}


/* ===========================================================================
   DDM MODAL
   Markup: .ddm_modal[data-modalid] > .ddm_modal_contwrap > .ddm_modal_close
   + .ddm_modal_cont. Opened by .ddm_modal_activator with the same
   data-modalid, logic in functions.js.
   =========================================================================== */
.ddm_modal{
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 100;
	width: 100%;
	height: 0px;
	opacity: 0;
	overflow: hidden;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	background: var(--color-overlay);
}
.ddm_modal.active{
	height: 100%;
	opacity: 1;
}
.ddm_modal_contwrap{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 800px;
	max-width: calc(100% - 2 * var(--gutter));
	height: 800px;
	max-height: 90%;
	background-color: var(--color-white);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.ddm_modal_close{
	position: absolute;
	top: var(--space-4);
	right: var(--space-4);
	z-index: 4;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--color-line);
	border-radius: 50%;
	background-color: var(--color-white);
	color: var(--color-espresso);
	cursor: pointer;
	transition: background-color var(--dur-fast) var(--ease);
}
.ddm_modal_close:hover{
	background-color: var(--color-linen);
}
.ddm_modal_cont{
	position: absolute;
	inset: 0px;
	padding: var(--space-8) var(--space-7);
	overflow-x: hidden;
	overflow-y: auto;
}


/* ===========================================================================
   SECTION COMPONENTS
   Built with the home page, reusable on every page (styleguide/layout.html).
   Layout only - type comes from the global roles in the markup.
   =========================================================================== */

/* TEXT COLUMNS: heading 5/12, text 7/12 */
.ddm_textcols{
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: var(--grid-gap);
	align-items: start;
}
.ddm_textcols > .contstyles{
	max-width: 640px;
}

/* SERVICE TILES: 3 / (horizontal ≤ 860) / 1. Whole tile clickable. */
.ddm_tiles{
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-7) var(--grid-gap);
}
.ddm_tile{
	position: relative;
}
.ddm_tile h3{
	margin-top: var(--space-5);
}
.ddm_tile p{
	margin-top: var(--space-3);
}
.ddm_tile .ddm_textlink{
	margin-top: var(--space-4);
}
.ddm_tile:hover .ddm_media > img{
	transform: scale(1.035);
}
.ddm_tile:hover .ddm_textlink .ddm_icon{
	transform: translateX(4px);
}

/* CHIPS: further services as outlined links; ._static = plain labels */
.ddm_more{
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: var(--grid-gap);
	align-items: start;
	margin-top: var(--space-8);
	padding-top: var(--space-6);
	border-top: 1px solid var(--color-line);
}
.ddm_chips,
.contstyles .ddm_chips{
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}
.contstyles .ddm_chips > li{
	padding-left: 0px;
	margin-top: 0px;
}
.contstyles .ddm_chips > li::before{
	display: none;
}
.ddm_chips a,
.ddm_chips._static > li{
	display: inline-block;
	padding: var(--space-2) var(--space-4);
	border: 1px solid var(--color-mink);
	border-radius: var(--radius-round);
	font-size: var(--fs-small);
	line-height: var(--lh-small);
	font-weight: var(--weight-ui);
	color: var(--color-text);
}
.ddm_chips a{
	transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.ddm_chips a:hover{
	background-color: var(--color-white);
	border-color: var(--color-espresso);
}
.linehover_links .ddm_chips a::after{
	display: none;
}
.ddm_chips._static > li{
	border-color: transparent;
	background-color: var(--color-linen);
}

/* QUOTE BAND (stone surface + .ddm_ondark) */
.ddm_quote{
	max-width: 980px;
}
.ddm_quote blockquote p + p{
	margin-top: var(--space-3);
}
.ddm_quote .font_h3{
	color: var(--color-sand);
}
.ddm_quote figcaption{
	display: flex;
	align-items: center;
	gap: var(--space-4);
	margin-top: var(--space-6);
}
.ddm_quote figcaption::before{
	content: "";
	flex: 0 0 48px;
	height: 1px;
	background-color: var(--color-sand);
}

/* STEPS: only for real sequences. Two columns, taupe numerals. */
.ddm_steps{
	list-style: none;
	counter-reset: step;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--space-9);
}
.ddm_steps > li{
	counter-increment: step;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	column-gap: var(--space-5);
	align-content: start;
	padding-block: var(--space-6);
	border-top: 1px solid var(--color-line);
}
.ddm_steps > li::before{
	content: counter(step);
	grid-row: span 2;
	font-family: var(--font-head);
	font-weight: var(--weight-head);
	font-size: var(--fs-h2);
	line-height: 1;
	color: var(--color-taupe);
	font-variant-numeric: lining-nums;
}
.ddm_steps p{
	margin-top: var(--space-2);
}

/* SPLIT: image 7/12 on the sand plane, text 5/12 */
.ddm_split{
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: var(--space-9);
	align-items: center;
}
.ddm_split_media .ddm_plane::before{
	top: 30%;
	bottom: calc(-1 * var(--space-7));
}
.ddm_split_actions{
	gap: var(--space-5) var(--space-6);
}
.contstyles .ddm_split_actions{
	margin-top: var(--space-6);
}

/* CHECK LIST */
.contstyles .ddm_checklist{
	list-style: none;
	margin-top: var(--space-5);
}
.contstyles .ddm_checklist > li{
	display: flex;
	gap: var(--space-3);
	margin-top: 0px;
	padding: var(--space-3) 0px;
	border-bottom: 1px solid var(--color-line);
}
.contstyles .ddm_checklist > li::before{
	display: none;
}
.ddm_checklist .ddm_icon{
	margin-top: 0.3em;
	color: var(--color-umber);
}

/* FAQ: details/summary, plus turns into × */
.ddm_faq_layout{
	display: grid;
	grid-template-columns: 4fr 8fr;
	gap: var(--space-9);
	align-items: start;
}
.ddm_faq{
	border-top: 1px solid var(--color-mink);
}
.ddm_faq details{
	border-bottom: 1px solid var(--color-mink);
}
.ddm_faq summary{
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-5);
	padding-block: var(--space-5);
	cursor: pointer;
	transition: color var(--dur-fast) var(--ease);
}
.ddm_faq summary::-webkit-details-marker{
	display: none;
}
.ddm_faq summary:hover{
	color: var(--color-umber);
}
.ddm_faq summary .ddm_icon{
	color: var(--color-umber);
	transition: transform var(--dur) var(--ease);
}
.ddm_faq details[open] summary .ddm_icon{
	transform: rotate(45deg);
}
.ddm_faq details > div{
	max-width: 620px;
	padding-bottom: var(--space-6);
}


/* --- added with the Institut pages (2026-11-17) --- */

/* ._top: crop from the top (portraits in landscape frames) */
.ddm_media._top > img{
	object-position: center top;
}

/* SPLIT, reversed: text 5/12 left, image 7/12 right (plane runs out right) */
.ddm_split._reverse{
	grid-template-columns: 5fr 7fr;
}
.ddm_split._reverse > .ddm_split_media{
	order: 2;
}

/* STATEMENT: the one sentence a text block leads to (sand rule left) */
.contstyles .ddm_statement{
	margin-top: var(--space-6);
	padding-left: var(--space-5);
	border-left: 2px solid var(--color-sand);
	color: var(--color-head);
}

/* INDEX: list of linked names on hairlines, arrow right (services,
   focus areas). ._cols = two columns. Rows without a link show a meta
   text instead of the arrow. */
.ddm_index,
.contstyles .ddm_index{
	list-style: none;
	border-top: 1px solid var(--color-line);
}
.ddm_index._cols{
	columns: 2;
	column-gap: var(--space-9);
	border-top: none;
}
.ddm_index > li,
.contstyles .ddm_index > li{
	break-inside: avoid;
	margin-top: 0px;
	padding-left: 0px;
	border-bottom: 1px solid var(--color-line);
}
.ddm_index._cols > li:first-child,
.ddm_index._cols > li:nth-child(6){
	border-top: 1px solid var(--color-line);
}
.contstyles .ddm_index > li::before{
	display: none;
}
.ddm_index > li > a{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-5);
	padding-block: var(--space-4);
}
.ddm_index > li:not(:has(> a)){
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--space-5);
	padding-block: var(--space-4);
}
.ddm_index > li > a,
.contstyles .ddm_index a{
	color: var(--color-head);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease);
}
.ddm_index > li > a:hover{
	color: var(--color-umber);
}
.linehover_links .ddm_index a::after{
	display: none;
}
.ddm_index .ddm_icon{
	color: var(--color-umber);
	transition: transform var(--dur-fast) var(--ease);
}
.ddm_index a:hover .ddm_icon{
	transform: translateX(4px);
}
.ddm_index_meta{
	color: var(--color-meta);
}
.ddm_index_text{
	display: block;
	margin-top: var(--space-1);
	color: var(--color-meta);
}
.ddm_index_note{
	display: flex;
	align-items: center;
	gap: var(--space-4);
	margin-top: var(--space-7);
	color: var(--color-head);
}
.ddm_index_note .ddm_icon{
	color: var(--color-umber);
}

/* STEPS in one row (short sequences, max. 5): numeral above, the top
   hairline reads as a track. Back to the two-column list at 1100. */
.ddm_steps._row{
	grid-template-columns: repeat(5, minmax(0, 1fr));
	column-gap: var(--space-6);
}
.ddm_steps._row > li{
	grid-template-columns: minmax(0, 1fr);
	padding-block: var(--space-5) 0px;
	border-top-color: var(--color-mink);
}
.ddm_steps._row > li::before{
	grid-row: auto;
	margin-bottom: var(--space-5);
}

/* FEATURE LIST: icon + short label on a hairline grid, two columns */
.contstyles .ddm_features{
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--space-6);
	margin-top: var(--space-4);
	margin-bottom: var(--space-6);
	border-top: 1px solid var(--color-line);
}
.contstyles .ddm_features > li{
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	margin-top: 0px;
	padding: var(--space-4) 0px;
	border-bottom: 1px solid var(--color-line);
	color: var(--color-head);
}
.contstyles .ddm_features > li::before{
	display: none;
}
.ddm_features .ddm_icon{
	color: var(--color-umber);
}

/* GALLERY: one large photo + five, every photo opens the lightbox */
.ddm_gallery{
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-4);
	margin-top: var(--space-8);
}
.ddm_gallery > li:first-child{
	grid-column: span 2;
	grid-row: span 2;
}
.ddm_gallery a{
	position: relative;
	display: block;
	height: 100%;
}
.ddm_gallery .ddm_media{
	display: block;
	height: 100%;
	aspect-ratio: 16 / 9;
}
.ddm_gallery > li:first-child .ddm_media{
	aspect-ratio: auto;
}
/* zoom badge: shows on hover / focus (also used by the certificates) */
.ddm_gallery_zoom{
	position: absolute;
	right: var(--space-3);
	bottom: var(--space-3);
	z-index: 2;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--color-white);
	color: var(--color-espresso);
	box-shadow: var(--shadow);
	opacity: 0;
	translate: 0px 4px;
	transition: opacity var(--dur-fast) var(--ease), translate var(--dur-fast) var(--ease);
}
a:hover > .ddm_gallery_zoom,
a:focus-visible > .ddm_gallery_zoom,
.ddm_doc:hover .ddm_gallery_zoom,
.ddm_doc:focus-within .ddm_gallery_zoom{
	opacity: 1;
	translate: 0px 0px;
}
@media (hover: none){
	.ddm_gallery_zoom{
		opacity: 1;
		translate: 0px 0px;
	}
}

/* TIMELINE: year left, entries on a vertical line with a dot per year */
.ddm_timeline{
	list-style: none;
}
.ddm_timeline > li{
	display: grid;
	grid-template-columns: 9.5rem minmax(0, 1fr);
	column-gap: var(--space-5);
	align-items: baseline;
}
.ddm_timeline_year{
	color: var(--color-taupe);
	font-variant-numeric: lining-nums;
	white-space: nowrap;
}
.ddm_timeline ul{
	position: relative;
	list-style: none;
	padding: 0px 0px var(--space-6) var(--space-6);
	border-left: 1px solid var(--color-line);
}
.ddm_timeline > li:last-child ul{
	padding-bottom: 0px;
	border-left-color: transparent;
}
/* dot on the line, at the height of the first text line */
.ddm_timeline ul::before{
	content: "";
	position: absolute;
	left: -6px;
	top: 0.55em;
	width: 11px;
	height: 11px;
	border: 1px solid var(--color-umber);
	border-radius: 50%;
	background-color: var(--color-sand);
}
.ddm_timeline ul > li + li{
	margin-top: var(--space-3);
}
.ddm_timeline .ddm_textlink{
	display: flex;
	width: fit-content;
	margin-top: var(--space-2);
}


/* --- added with the Weitere Infos pages (2026-11-17) --- */

/* chips inside running text: no underline, the outline marks the link */
.contstyles .ddm_chips a{
	text-decoration: none;
}

/* POINTS: short list items on hairlines (what is discussed, checked,
   needed). ._cols = two columns. Keeps the dash marker of .contstyles. */
.contstyles .ddm_points{
	list-style: none;
	margin-top: var(--space-4);
	border-top: 1px solid var(--color-line);
}
.contstyles .ddm_points._cols{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--space-6);
}
.contstyles .ddm_points > li{
	margin-top: 0px;
	padding: var(--space-3) 0px var(--space-3) 1.4em;
	border-bottom: 1px solid var(--color-line);
	color: var(--color-head);
}
.contstyles .ddm_points > li::before{
	top: calc(var(--space-3) + 0.85em);
}
.contstyles .ddm_points + *{
	margin-top: var(--space-5);
}
.linen_bg .contstyles .ddm_points,
.linen_bg .contstyles .ddm_points > li{
	border-color: var(--color-sand);
}

/* COMPARE: two panels side by side (Epithese / Operation, care do / don't).
   Linen panels on white, white panels on linen. ._or puts a round „oder“
   between them. A panel starts with an icon badge + kicker, then h2/h3. */
.ddm_compare{
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--grid-gap);
}
.ddm_compare._or{
	gap: var(--space-8);
}
.ddm_compare_panel{
	padding: var(--space-7);
	background-color: var(--color-linen);
	border-top: 2px solid var(--color-sand);
}
.linen_bg .ddm_compare_panel{
	background-color: var(--color-white);
}
.ddm_compare_kicker{
	display: flex;
	align-items: center;
	gap: var(--space-3);
}
.contstyles .ddm_compare_kicker + *{
	margin-top: var(--space-4);
}
.ddm_compare_badge{
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--color-sand);
	color: var(--color-espresso);
}
.ddm_compare_note{
	color: var(--color-meta);
}
.contstyles .ddm_compare_note{
	margin-top: var(--space-6);
}
.ddm_compare .ddm_checklist .ddm_icon{
	color: var(--color-umber);
}
/* „oder“: sand disc on the gap, at the height of the panel headings */
.ddm_compare_or{
	position: absolute;
	z-index: 1;
	top: var(--space-7);
	left: 50%;
	translate: -50% 0px;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 4px solid var(--color-white);
	border-radius: 50%;
	background-color: var(--color-sand);
	font-family: var(--font-head);
	font-style: italic;
	font-size: var(--fs-h5);
	color: var(--color-espresso);
}
.linen_bg .ddm_compare_or{
	border-color: var(--color-linen);
}

/* INFO NAV: the other „Weitere Infos“ pages at the end of each one; the
   whole item is clickable (.linkoverlay) */
.ddm_infonav{
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--grid-gap);
	margin-top: var(--space-6);
}
.ddm_infonav > li{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: var(--space-5) var(--space-5) var(--space-5);
	border-top: 2px solid var(--color-sand);
	background-color: var(--color-white);
	transition: border-color var(--dur-fast) var(--ease);
}
.ddm_infonav h3{
	transition: color var(--dur-fast) var(--ease);
}
.ddm_infonav p{
	flex: 1;
	margin-top: var(--space-2);
	color: var(--color-meta);
}
.ddm_infonav .ddm_textlink{
	margin-top: var(--space-4);
}
.ddm_infonav > li:hover{
	border-top-color: var(--color-umber);
}
.ddm_infonav > li:hover h3{
	color: var(--color-umber);
}
.ddm_infonav > li:hover .ddm_textlink .ddm_icon{
	transform: translateX(4px);
}


/* ===========================================================================
   HOME (content_home)
   =========================================================================== */

/* INTRO: text 6/12, mosaic head 6/12 on the sand plane */
.ddm_intro{
	padding-top: var(--space-7);
	padding-bottom: calc(var(--plane-offset) + var(--space-8));
}
.ddm_intro_grid{
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--grid-gap);
	align-items: center;
}
.ddm_intro_text{
	grid-column: 1 / span 6;
	position: relative;
	z-index: 2;
}
.ddm_intro_text h1{
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}
.ddm_intro_entity{
	max-width: 32em;
}
.ddm_intro_text .font_l{
	max-width: 30em;
	margin-top: var(--space-6);
}
.ddm_intro_text .font_l + p{
	max-width: 36em;
	margin-top: var(--space-4);
	color: var(--color-meta);
}
.ddm_intro_text .ddm_buttons{
	margin-top: var(--space-7);
}
.ddm_intro_media{
	grid-column: 7 / span 6;
	position: relative;
}
.ddm_intro_caption{
	position: absolute;
	z-index: 2;
	right: 0px;
	bottom: calc(-1 * var(--plane-offset) + var(--space-5));
	max-width: 15em;
	color: var(--color-espresso);
}

/* MOSAIC HEAD - the one orchestrated moment of the site (see styleguide).
   14 layers of one canvas stacked in .ddm_mosaic_head. js/template.js
   (ddm_initMosaic) adds ._play once the layers are decoded - they rise in
   one after another (--d) - and writes the scrolled pixels to --y: every
   layer sinks at its own speed (--k), drifts (--dx) and turns (--r), so
   the head breaks apart and reassembles when scrolling back. The pieces
   are cut off at the lower edge of the sand plane. Reduced motion: static. */
.ddm_mosaic{
	position: relative;
}
.ddm_mosaic::before{
	content: "";
	position: absolute;
	z-index: 0;
	top: 24%;
	bottom: calc(-1 * var(--plane-offset));
	left: 34%;
	right: calc(-1 * (100vw - 100%));
	background-color: var(--color-sand);
}
/* pedestal: the plane reaches under the bust, so the pieces are always cut
   at the sand edge, never in the white */
.ddm_mosaic::after{
	content: "";
	position: absolute;
	z-index: 0;
	top: 90%;
	bottom: calc(-1 * var(--plane-offset));
	left: 0px;
	width: 40%;
	background-color: var(--color-sand);
}
.ddm_mosaic_head{
	position: relative;
	z-index: 1;
	/* as high as the screen allows (header, padding), never wider than 80% */
	width: clamp(240px, (100svh - var(--header-h) - 180px) * 608 / 1008, 80%);
	aspect-ratio: 608 / 1008;
	margin-left: 4%;
	clip-path: inset(-50% -50% calc(-1 * var(--plane-offset)) -50%);
}
.ddm_mosaic_layer{
	position: absolute;
	inset: 0px;
	display: block;
	width: 100%;
	height: 100%;
	translate: calc(var(--dx, 0) * var(--y, 0) * 1px) calc(var(--k, 0) * var(--y, 0) * 1px);
	rotate: calc(var(--r, 0) * var(--y, 0) * 1deg);
	will-change: translate, rotate;
}
@media (prefers-reduced-motion: no-preference){
	.ddm_js .ddm_mosaic_layer{
		opacity: 0;
	}
	.ddm_js .ddm_mosaic._play .ddm_mosaic_layer{
		animation: ddm_mosaic_in 1100ms var(--ease) var(--d, 0ms) both;
	}
}
@keyframes ddm_mosaic_in{
	from{
		opacity: 0;
		transform: translate3d(0px, 56px, 0px);
	}
	to{
		opacity: 1;
		transform: none;
	}
}

/* DEFINITION: lexicon entry on a sand plane (runs out to the left edge,
   mirroring the intro plane) + definition text, then three qualities
   drawn from the palette (swatches, contour lines, pore texture) */
.ddm_def{
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: var(--space-9);
	align-items: start;
}
.ddm_lexicon{
	position: relative;
	z-index: 0;
	margin-top: var(--space-7);
	padding: var(--space-6) var(--space-6) var(--space-6) 0px;
}
.ddm_lexicon::before{
	content: "";
	position: absolute;
	z-index: -1;
	top: 0px;
	bottom: 0px;
	right: 0px;
	left: calc(-1 * (100vw - 100%));
	background-color: var(--color-sand);
}
.ddm_lexicon_word{
	letter-spacing: 0.01em;
}
.ddm_lexicon_meta{
	margin-top: var(--space-2);
	color: var(--color-umber);
}
.ddm_lexicon_origin{
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin-top: var(--space-5);
	color: var(--color-espresso);
}
.ddm_lexicon_origin::before{
	content: "";
	flex: 0 0 32px;
	height: 1px;
	background-color: var(--color-umber);
}
.ddm_def_text{
	padding-top: var(--space-2);
}
.contstyles .ddm_indications{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--grid-gap);
	margin-top: var(--space-4);
}
.contstyles .ddm_indications > li{
	margin-top: 0px;
	padding-block: var(--space-3);
	border-top: 1px solid var(--color-line);
}
.contstyles .ddm_indications > li:nth-last-child(-n+2){
	border-bottom: 1px solid var(--color-line);
}
.contstyles .ddm_indications > li::before{
	top: calc(var(--space-3) + 0.85em);
}

.ddm_qualities{
	display: grid;
	grid-template-columns: 4fr 8fr;
	gap: var(--space-9);
	align-items: start;
	margin-top: var(--space-9);
}
.ddm_qualities_list{
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--grid-gap);
}
.ddm_quality p{
	margin-top: var(--space-2);
}
.ddm_quality_art{
	display: flex;
	align-items: center;
	height: 64px;
	margin-bottom: var(--space-5);
}
/* Farbe: overlapping skin-tone swatches, fan out on hover */
.ddm_swatches i{
	--swatch: 44px;
	display: block;
	flex: none;
	width: var(--swatch);
	height: var(--swatch);
	margin-left: calc(var(--swatch) * -0.36);
	border: 2px solid var(--color-white);
	border-radius: 50%;
	transition: margin var(--dur) var(--ease), translate var(--dur) var(--ease);
}
.ddm_swatches i:first-child{
	margin-left: 0px;
	background-color: var(--color-peach);
	box-shadow: inset 0 0 0 1px var(--color-line);
}
.ddm_swatches i:nth-child(2){ background-color: var(--color-sand); }
.ddm_swatches i:nth-child(3){ background-color: var(--color-mink); }
.ddm_swatches i:nth-child(4){ background-color: var(--color-taupe); }
.ddm_swatches i:nth-child(5){ background-color: var(--color-umber); }
.ddm_quality:hover .ddm_swatches i:not(:first-child){
	margin-left: -4px;
}
.ddm_quality:hover .ddm_swatches i:nth-child(even){
	translate: 0px -6px;
}
/* Anatomie: contour lines of a form, they widen on hover */
.ddm_contours svg{
	display: block;
	width: 96px;
	height: 64px;
	overflow: visible;
}
.ddm_contours ellipse{
	fill: none;
	stroke: var(--color-mink);
	stroke-width: 1.25;
	vector-effect: non-scaling-stroke;
	transform-box: view-box;
	transform-origin: 53px 31px;
	transition: scale var(--dur-slow) var(--ease), stroke var(--dur) var(--ease);
}
.ddm_contours ellipse:last-child{
	fill: var(--color-sand);
	stroke: var(--color-umber);
}
.ddm_quality:hover .ddm_contours ellipse:nth-child(1){ scale: 1.04; }
.ddm_quality:hover .ddm_contours ellipse:nth-child(2){ scale: 1.1; }
.ddm_quality:hover .ddm_contours ellipse:nth-child(3){ scale: 1.18; }
.ddm_quality:hover .ddm_contours ellipse:nth-child(4){ scale: 1.3; }
/* Struktur: pore texture in a lens, zooms in on hover */
.ddm_texture i{
	display: block;
	width: 64px;
	height: 64px;
	border: 1px solid var(--color-mink);
	border-radius: 50%;
	background-color: var(--color-linen);
	background-image:
		radial-gradient(circle, var(--color-taupe) 1px, transparent 1.6px),
		radial-gradient(circle, var(--color-mink) 0.8px, transparent 1.4px);
	background-size: 7px 7px, 7px 7px;
	background-position: 0px 0px, 3.5px 3.5px;
	transition: background-size var(--dur-slow) var(--ease), scale var(--dur) var(--ease);
}
.ddm_quality:hover .ddm_texture i{
	scale: 1.08;
	background-size: 11px 11px, 11px 11px;
}

.contstyles .ddm_def_more{
	margin-top: var(--space-6);
}

/* REGION: text + ring graphic (Neu-Ulm/Ulm in the centre). The zones are
   buttons (js/template.js ddm_initRegion sets data-zone on hover, tap or
   focus): the sand disc grows to the active zone, its ring and label are
   emphasised, the caption below changes. On entering the screen the rings
   grow in; while idle a slow ripple runs out from Neu-Ulm. */
.ddm_region{
	display: grid;
	grid-template-columns: 6fr 5fr;
	gap: var(--space-9);
	align-items: center;
}
.ddm_region .ddm_chips{
	margin-top: var(--space-5);
}
.ddm_region .ddm_chips + p{
	margin-top: var(--space-5);
}
.ddm_region_graphic{
	justify-self: end;
	width: 100%;
	max-width: 440px;
}
.ddm_region_graphic svg{
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.ddm_region_graphic svg *{
	transform-box: view-box;
	transform-origin: 220px 220px;
}
.ddm_region_graphic ._fill{
	fill: var(--color-sand);
	transition: scale 700ms var(--ease);
}
/* disc radius per zone: 70 / 125 / 175 / 222 (just past the ring) */
.ddm_region_graphic[data-zone="1"] ._fill{ scale: 1.13; }
.ddm_region_graphic[data-zone="2"] ._fill{ scale: 2.016; }
.ddm_region_graphic[data-zone="3"] ._fill{ scale: 2.823; }
.ddm_region_graphic[data-zone="4"] ._fill{ scale: 3.581; }
.ddm_region_graphic ._ripple{
	fill: none;
	stroke: var(--color-sand);
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
	opacity: 0;
}
.ddm_region_graphic ._ring{
	fill: none;
	stroke: var(--color-line);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
	transition: stroke var(--dur) var(--ease), stroke-width var(--dur) var(--ease);
}
.ddm_region_graphic ._ring._strong,
.ddm_region_graphic ._ring._dashed{
	stroke: var(--color-mink);
}
.ddm_region_graphic ._ring._dashed{
	stroke-dasharray: 2 7;
	stroke-linecap: round;
}
.ddm_region_graphic[data-zone="2"] ._ring[data-ring="2"],
.ddm_region_graphic[data-zone="3"] ._ring[data-ring="3"],
.ddm_region_graphic[data-zone="4"] ._ring[data-ring="4"]{
	stroke: var(--color-umber);
	stroke-width: 1.5;
}
.ddm_region_graphic ._dot{
	fill: var(--color-umber);
}
/* graphic labels (sized in viewBox units); the white stroke cuts the ring
   behind the text, on the grown disc it turns sand */
.ddm_region_graphic ._label{
	font-family: var(--font-text);
	font-weight: var(--weight-ui);
	font-size: 15px;
	letter-spacing: var(--ls-ui);
	text-anchor: middle;
	fill: var(--color-umber);
	paint-order: stroke;
	stroke: var(--color-white);
	stroke-width: 10px;
	stroke-linejoin: round;
	pointer-events: none;
	transition: opacity var(--dur) var(--ease), fill var(--dur) var(--ease), stroke var(--dur) var(--ease);
}
.ddm_region_graphic ._core_label{
	fill: var(--color-espresso);
	stroke: none;
}
.ddm_region_graphic ._meta{
	fill: var(--color-stone);
}
.ddm_region_graphic:not([data-zone="0"]) ._label{
	opacity: 0.4;
}
.ddm_region_graphic[data-zone="1"] ._label[data-ring="1"],
.ddm_region_graphic[data-zone="2"] ._label[data-ring="2"],
.ddm_region_graphic[data-zone="3"] ._label[data-ring="3"],
.ddm_region_graphic[data-zone="4"] ._label[data-ring="4"]{
	opacity: 1;
	fill: var(--color-espresso);
}
/* with JS the labels sit on pills (ddm_initRegion): white on the rings,
   sand on the grown disc, espresso for the active zone */
.ddm_region_graphic._pills ._label{
	stroke: none;
}
.ddm_region_graphic ._pill{
	fill: var(--color-white);
	transition: fill var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.ddm_region_graphic[data-zone="3"] ._pill[data-ring="2"],
.ddm_region_graphic[data-zone="4"] ._pill:is([data-ring="2"], [data-ring="3"]){
	fill: var(--color-sand);
}
.ddm_region_graphic[data-zone="2"] ._pill[data-ring="2"],
.ddm_region_graphic[data-zone="3"] ._pill[data-ring="3"],
.ddm_region_graphic[data-zone="4"] ._pill[data-ring="4"]{
	fill: var(--color-espresso);
}
.ddm_region_graphic[data-zone="2"] ._label[data-ring="2"],
.ddm_region_graphic[data-zone="3"] ._label[data-ring="3"],
.ddm_region_graphic[data-zone="4"] ._label[data-ring="4"]{
	fill: var(--color-white);
}
.ddm_region_graphic ._zone{
	fill: transparent;
	pointer-events: all;
	cursor: pointer;
	outline: none;
}
@media (prefers-reduced-motion: no-preference){
	.ddm_js .ddm_region_graphic:not(._in) ._ring,
	.ddm_js .ddm_region_graphic:not(._in) ._label,
	.ddm_js .ddm_region_graphic:not(._in) ._pill{
		opacity: 0;
	}
	.ddm_region_graphic._in ._ring{
		animation: ddm_ring_in 900ms var(--ease) both;
	}
	.ddm_region_graphic._in ._ring[data-ring="3"]{ animation-delay: 150ms; }
	.ddm_region_graphic._in ._ring[data-ring="4"]{ animation-delay: 300ms; }
	.ddm_region_graphic._in[data-zone="0"] ._ripple{
		animation: ddm_ripple 4.5s var(--ease) 1.2s infinite;
	}
}
@keyframes ddm_ring_in{
	from{
		opacity: 0;
		scale: 0.55;
	}
	to{
		opacity: 1;
		scale: 1;
	}
}
@keyframes ddm_ripple{
	0%{
		opacity: 0.9;
		scale: 1;
	}
	70%{
		opacity: 0;
	}
	100%{
		opacity: 0;
		scale: 3.4;
	}
}
/* caption: all entries share one grid cell, so the height never jumps */
.ddm_region_info{
	list-style: none;
	display: grid;
	max-width: 360px;
	margin: var(--space-5) auto 0px;
	text-align: center;
}
.ddm_region_info > li{
	display: grid;
	align-content: start;
	gap: var(--space-1);
}
.ddm_region_info > li + li{
	margin-top: var(--space-4);
}
.ddm_region_info .font_s{
	color: var(--color-meta);
}
html:not(.ddm_js) .ddm_region_info > ._hint{
	display: none;
}
.ddm_js .ddm_region_info > li{
	grid-area: 1 / 1;
	margin-top: 0px;
	opacity: 0;
	visibility: hidden;
	translate: 0px 6px;
	transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.ddm_region_graphic[data-zone="0"] .ddm_region_info > li[data-zone="0"],
.ddm_region_graphic[data-zone="1"] .ddm_region_info > li[data-zone="1"],
.ddm_region_graphic[data-zone="2"] .ddm_region_info > li[data-zone="2"],
.ddm_region_graphic[data-zone="3"] .ddm_region_info > li[data-zone="3"],
.ddm_region_graphic[data-zone="4"] .ddm_region_info > li[data-zone="4"]{
	opacity: 1;
	visibility: visible;
	translate: 0px 0px;
	transition-delay: 0s;
}

/* CLOSING: trust text + call to action */
.contstyles.ddm_closing .ddm_buttons{
	margin-top: var(--space-6);
}

/* CONTACT: text 5/12 + form panel 7/12 (styleguide "Contact"). The text
   stays in view while the longer form scrolls past. */
.ddm_contact{
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: var(--space-9);
	align-items: start;
}
.ddm_contact > .contstyles{
	position: sticky;
	top: calc(var(--header-h-small) + var(--space-6));
}
/* the sticky text column only works if it fits the viewport */
@media (max-height: 820px){
	.ddm_contact > .contstyles{
		position: static;
	}
}

/* PAGE INTRO (subpages): kicker + H1 + lead 6/12, optional image 5/12 on
   the sand plane. The quieter sibling of the home intro. */
.ddm_pageintro{
	padding-top: var(--space-8);
	padding-bottom: calc(var(--plane-offset) + var(--space-8));
}
.ddm_pageintro_grid{
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--grid-gap);
	align-items: center;
}
.ddm_pageintro_text{
	grid-column: 1 / span 6;
}
.ddm_pageintro_text h1{
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}
.ddm_pageintro_text .font_l{
	max-width: 30em;
	margin-top: var(--space-6);
}
.ddm_pageintro_text .font_l + p{
	max-width: 36em;
	margin-top: var(--space-4);
	color: var(--color-meta);
}
.ddm_pageintro_text .ddm_buttons{
	margin-top: var(--space-7);
}
.ddm_pageintro_media{
	grid-column: 8 / span 5;
}

/* CONTACT LIST: icon + optional small label + value */
address{
	font-style: normal;
}
.ddm_contactlist{
	list-style: none;
	margin-top: var(--space-5);
}
.ddm_contactlist > li{
	display: flex;
	gap: var(--space-4);
	padding: var(--space-4) 0px;
	border-bottom: 1px solid var(--color-line);
}
.ddm_contactlist > li:first-child{
	padding-top: 0px;
}
.ddm_contactlist .ddm_icon{
	margin-top: 0.2em;
	color: var(--color-umber);
}
.ddm_contactlist a{
	color: var(--color-link);
}
.ddm_contactlist_label{
	display: block;
	font-size: var(--fs-small);
	line-height: var(--lh-small);
	font-weight: var(--weight-ui);
	color: var(--color-meta);
}
.ddm_contactlist .ddm_contactlist_route{
	display: flex;
	width: fit-content;
	margin-top: var(--space-3);
}
.ddm_contactlist_route .ddm_icon{
	margin-top: 0px;
}

/* OPENING HOURS: one row per day, today marked by js (ddm_initHours) */
.ddm_hours{
	width: 100%;
	margin-top: var(--space-5);
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}
.ddm_hours th,
.ddm_hours td{
	padding: var(--space-3) 0px;
	border-bottom: 1px solid var(--color-line);
	text-align: left;
	vertical-align: baseline;
	font-weight: var(--weight-text);
}
.ddm_hours tr:first-child > *{
	padding-top: 0px;
}
.ddm_hours td{
	text-align: right;
}
.ddm_hours th,
.ddm_hours td > span{
	white-space: nowrap;
}
.ddm_hours td{
	padding-left: var(--space-4);
}
.ddm_hours tr._closed > *{
	color: var(--color-meta);
}
.ddm_hours tr._today > *{
	font-weight: var(--weight-strong);
	color: var(--color-head);
}
.ddm_hours_today{
	display: inline-block;
	margin-left: var(--space-3);
	padding: 0px var(--space-3);
	border-radius: var(--radius-round);
	background-color: var(--color-sand);
	color: var(--color-espresso);
	font-size: var(--fs-small);
	line-height: 1.6;
	font-weight: var(--weight-ui);
	vertical-align: 0.1em;
}
.ddm_hours_today[hidden]{
	display: none;
}

/* NOTES: short icon notes next to a form (privacy, our promise) */
.contstyles .ddm_notes{
	list-style: none;
	margin-top: var(--space-7);
}
.contstyles .ddm_notes > li{
	display: flex;
	gap: var(--space-4);
	margin-top: 0px;
	padding: var(--space-5) 0px 0px;
	border-top: 1px solid var(--color-line);
}
.contstyles .ddm_notes > li + li{
	margin-top: var(--space-5);
}
.contstyles .ddm_notes > li::before{
	display: none;
}
.ddm_notes .ddm_icon{
	color: var(--color-umber);
}
.ddm_notes p{
	color: var(--color-meta);
}


/* ===========================================================================
   KONTAKT (content_kontakt)
   =========================================================================== */

/* REACH: contact data + opening hours 5/12, map 7/12 on the sand plane.
   The map takes the height of the data column. */
.ddm_reach{
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: var(--space-9);
}
.ddm_reach_data{
	display: grid;
	align-content: start;
	gap: var(--space-8);
}
.ddm_reach_map{
	display: flex;
	flex-direction: column;
	padding-bottom: var(--space-7);
}
.ddm_reach_map > .ddm_plane{
	flex: 1;
	display: flex;
}
.ddm_reach_map > .ddm_plane::before{
	top: 18%;
	bottom: calc(-1 * var(--space-7));
}
.ddm_reach .ddm_embed{
	aspect-ratio: auto;
	min-height: 420px;
}
/* white box on the linen section, the map sketch shows through the notice */
.ddm_reach .ddm_embed{
	background-color: var(--color-white);
}

/* map sketch (placeholder until Google Maps is loaded) */
.ddm_mapsketch{
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke-linecap: round;
}
.ddm_mapsketch ._river{
	stroke: var(--color-linen);
	stroke-width: 46;
}
.ddm_mapsketch ._streets path{
	stroke: var(--color-line);
	stroke-width: 6;
}
.ddm_mapsketch ._main{
	stroke: var(--color-sand);
	stroke-width: 10;
}
.ddm_mapsketch ._bridge{
	stroke: var(--color-line);
	stroke-width: 8;
}
.ddm_mapsketch ._halo{
	fill: var(--color-sand);
	opacity: 0.45;
}
.ddm_mapsketch ._pin{
	fill: var(--color-espresso);
}
.ddm_mapsketch ._pindot{
	fill: var(--color-white);
}


/* ===========================================================================
   LIGHTBOX
   One <dialog> built by js/template.js (ddm_initLightbox) for every
   a.ddm_lightbox_link; links with the same data-gallery form a series
   (arrows, swipe, arrow keys). Without JS the link opens the image.
   =========================================================================== */
.ddm_lightbox{
	position: fixed;
	inset: 0px;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0px;
	padding: var(--space-8) var(--space-10) var(--space-6);
	border: none;
	background: transparent;
	color: var(--color-white);
	overflow: hidden;
}
.ddm_lightbox[open]{
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	justify-items: center;
	gap: var(--space-4);
}
.ddm_lightbox::backdrop{
	background-color: var(--color-backdrop);
}
.ddm_lightbox_img{
	align-self: center;
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	background-color: var(--color-white);
	box-shadow: var(--shadow);
}
.ddm_lightbox_bar{
	display: flex;
	align-items: baseline;
	gap: var(--space-5);
	max-width: 760px;
	text-align: center;
}
.ddm_lightbox_caption{
	color: var(--color-white);
}
.ddm_lightbox_count{
	flex: 0 0 auto;
	color: var(--color-ondark-meta);
	font-variant-numeric: tabular-nums;
}
.ddm_lightbox_btn{
	position: absolute;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0px;
	border: 1px solid var(--color-ondark-border);
	border-radius: 50%;
	background-color: transparent;
	color: var(--color-white);
	cursor: pointer;
	transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.ddm_lightbox_btn:hover{
	background-color: var(--color-ondark-hover);
	border-color: var(--color-white);
}
.ddm_lightbox_btn:focus-visible{
	outline: 2px solid var(--color-white);
	outline-offset: 3px;
}
.ddm_lightbox_btn._close{
	top: var(--space-5);
	right: var(--space-5);
}
.ddm_lightbox_btn._prev,
.ddm_lightbox_btn._next{
	top: 50%;
	translate: 0px -50%;
}
.ddm_lightbox_btn._prev{
	left: var(--space-5);
}
.ddm_lightbox_btn._next{
	right: var(--space-5);
}
.ddm_lightbox._single ._prev,
.ddm_lightbox._single ._next,
.ddm_lightbox._single .ddm_lightbox_count{
	display: none;
}
html:has(.ddm_lightbox[open]){
	overflow: hidden;
}
@media (prefers-reduced-motion: no-preference){
	.ddm_lightbox[open] .ddm_lightbox_img{
		animation: ddm_lightbox_in var(--dur) var(--ease);
	}
}
@keyframes ddm_lightbox_in{
	from{
		opacity: 0;
		scale: 0.98;
	}
}


/* ===========================================================================
   INSTITUT (content_institut, content_qualifizierung)
   =========================================================================== */

/* page intro with a portrait: narrower image column */
.ddm_pageintro_media._portrait{
	grid-column: 8 / span 4;
}

/* COOPERATION: three overlapping circles (Fachärzte, Kliniken, Epithetik)
   around "Ihre Versorgung". Sand fills multiply where they overlap; the
   circles move in from apart once the graphic is in view (ddm_initReveal). */
.ddm_cooperation{
	align-items: center;
}
.ddm_venn{
	justify-self: center;
	width: 100%;
	max-width: 440px;
}
.ddm_venn svg{
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.ddm_venn ._c{
	fill: var(--color-sand);
	fill-opacity: 0.55;
	stroke: var(--color-mink);
	stroke-width: 1;
	mix-blend-mode: multiply;
}
.ddm_venn ._label,
.ddm_venn ._core_label{
	font-family: var(--font-head);
	font-weight: var(--weight-head);
	font-size: 19px;
	fill: var(--color-head);
	text-anchor: middle;
}
.ddm_venn ._core_label{
	font-family: var(--font-text);
	font-weight: var(--weight-ui);
	font-size: 14px;
	fill: var(--color-white);
}
.ddm_venn ._core{
	fill: var(--color-espresso);
}
@media (prefers-reduced-motion: no-preference){
	.ddm_js .ddm_venn ._c{
		transition: translate 1100ms var(--ease), opacity 700ms var(--ease);
	}
	.ddm_js .ddm_venn:not(._in) ._c{
		opacity: 0;
	}
	.ddm_js .ddm_venn:not(._in) ._c1{ translate: -28px -18px; }
	.ddm_js .ddm_venn:not(._in) ._c2{ translate: 28px -18px; }
	.ddm_js .ddm_venn:not(._in) ._c3{ translate: 0px 30px; }
	.ddm_js .ddm_venn ._label,
	.ddm_js .ddm_venn ._core,
	.ddm_js .ddm_venn ._core_label{
		transition: opacity 600ms var(--ease) 700ms;
	}
	.ddm_js .ddm_venn:not(._in) ._label,
	.ddm_js .ddm_venn:not(._in) ._core,
	.ddm_js .ddm_venn:not(._in) ._core_label{
		opacity: 0;
	}
}

/* ROOMS: address with icon */
.ddm_rooms{
	align-items: start;
}
.contstyles .ddm_rooms_address{
	display: flex;
	gap: var(--space-3);
	margin-top: var(--space-5);
}
.ddm_rooms_address .ddm_icon{
	margin-top: 0.3em;
	color: var(--color-umber);
}

/* QUOTE BAND with a kicker above the quote */
.ddm_quote > .font_h6{
	margin-bottom: var(--space-5);
}

/* FACTS: three key figures below a text block */
.ddm_facts{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--grid-gap);
	margin-top: var(--space-8);
}
.ddm_facts > div{
	padding-top: var(--space-5);
	border-top: 1px solid var(--color-mink);
}
.ddm_facts dt{
	color: var(--color-head);
	font-variant-numeric: lining-nums;
}
.ddm_facts dd{
	max-width: 22em;
	margin: var(--space-2) 0px 0px;
	color: var(--color-meta);
}

/* CAREER: heading 4/12 (stays in view), timeline 8/12 */
.ddm_career{
	display: grid;
	grid-template-columns: 4fr 8fr;
	gap: var(--space-9);
	align-items: start;
}
.ddm_career > .contstyles{
	position: sticky;
	top: calc(var(--header-h-small) + var(--space-6));
}

/* MEMBERSHIPS + SPECIALISATION: two columns */
.ddm_memberships{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-9);
	align-items: start;
}
.ddm_memberships .ddm_index{
	margin-top: var(--space-5);
}
.contstyles .ddm_seals{
	list-style: none;
	margin-block: var(--space-5);
	border-top: 1px solid var(--color-line);
}
.contstyles .ddm_seals > li{
	display: flex;
	align-items: center;
	gap: var(--space-5);
	margin-top: 0px;
	padding: var(--space-4) 0px;
	border-bottom: 1px solid var(--color-line);
}
.contstyles .ddm_seals > li::before{
	display: none;
}
.ddm_seals_name{
	display: block;
}
.ddm_seals .font_s{
	display: block;
	margin-top: var(--space-1);
	color: var(--color-meta);
}
/* seal: sand disc with an inner ring and the abbreviation */
.ddm_seal{
	position: relative;
	flex: 0 0 76px;
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background-color: var(--color-sand);
	font-family: var(--font-head);
	font-weight: var(--weight-head);
	font-size: var(--fs-small);
	letter-spacing: 0.04em;
	color: var(--color-espresso);
}
.ddm_seal::before{
	content: "";
	position: absolute;
	inset: 5px;
	border: 1px solid var(--color-taupe);
	border-radius: 50%;
}

/* CERTIFICATES: documents on a white stage, opened in the lightbox */
.ddm_docs{
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-7) var(--grid-gap);
}
.ddm_doc{
	position: relative;
}
.ddm_doc_stage{
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	background-color: var(--color-white);
}
/* the document is centred absolutely, so its own height never stretches
   the square stage */
.ddm_doc_stage img{
	position: absolute;
	inset: 0px;
	display: block;
	width: auto;
	height: auto;
	max-width: 82%;
	max-height: 82%;
	margin: auto;
	box-shadow: 0 2px 6px var(--color-shadow), 0 12px 28px var(--color-shadow);
	transition: translate var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ddm_doc:hover .ddm_doc_stage img{
	translate: 0px -4px;
	box-shadow: 0 4px 10px var(--color-shadow), 0 20px 40px var(--color-shadow);
}
.ddm_doc h3{
	margin-top: var(--space-4);
	transition: color var(--dur-fast) var(--ease);
}
.ddm_doc p{
	margin-top: var(--space-1);
	color: var(--color-meta);
}
.ddm_doc:hover h3{
	color: var(--color-umber);
}


/* ===========================================================================
   WEITERE INFOS (content_ablauf, content_epithese_oder_chirurgie,
   content_kosten, content_pflege)
   =========================================================================== */

/* page intro with a long H1 word: text 7/12, card 5/12 */
.ddm_pageintro_grid._wide .ddm_pageintro_text{
	grid-column: 1 / span 7;
}

/* TOC on the sand plane (Ablauf intro): the steps as jump links on a white
   card, the numbers on a vertical track */
.ddm_toc{
	padding: var(--space-6) var(--space-6) var(--space-5);
	background-color: var(--color-white);
	box-shadow: var(--shadow);
}
.ddm_toc ol{
	list-style: none;
	margin-top: var(--space-3);
}
.ddm_toc li{
	position: relative;
}
.ddm_toc li:not(:last-child)::after{
	content: "";
	position: absolute;
	left: 15px;
	top: calc(var(--space-2) + 32px);
	bottom: calc(-1 * var(--space-2));
	width: 1px;
	background-color: var(--color-line);
}
.ddm_toc a{
	display: flex;
	align-items: center;
	gap: var(--space-4);
	padding-block: var(--space-2);
	color: var(--color-head);
}
.ddm_toc_num{
	flex: 0 0 32px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--color-mink);
	border-radius: 50%;
	background-color: var(--color-white);
	font-family: var(--font-head);
	font-weight: var(--weight-head);
	font-size: var(--fs-small);
	line-height: 1;
	color: var(--color-umber);
	font-variant-numeric: lining-nums;
	transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.ddm_toc a:hover{
	color: var(--color-umber);
}
.ddm_toc a:hover .ddm_toc_num{
	border-color: var(--color-umber);
	background-color: var(--color-sand);
}

/* PROCESS: a long sequence with detail. Number + title (+ photo) 4/12 stay
   in view while the text 8/12 scrolls past; one hairline per step. */
.ddm_process{
	list-style: none;
	border-bottom: 1px solid var(--color-mink);
}
.ddm_process > li{
	display: grid;
	grid-template-columns: 4fr 8fr;
	gap: var(--space-9);
	padding-block: var(--space-8);
	border-top: 1px solid var(--color-mink);
}
.ddm_process_head{
	position: sticky;
	top: calc(var(--header-h-small) + var(--space-6));
	align-self: start;
}
.ddm_process_num{
	display: block;
	font-family: var(--font-head);
	font-weight: var(--weight-head);
	font-size: var(--fs-h1);
	line-height: 1;
	color: var(--color-taupe);
	font-variant-numeric: lining-nums;
}
.ddm_process_head h3{
	margin-top: var(--space-4);
}
.ddm_process_head .ddm_media{
	margin-top: var(--space-6);
}
.ddm_process_body{
	max-width: 680px;
}
.contstyles .ddm_process_links{
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-6);
	margin-top: var(--space-6);
}
/* the sticky column only works if it fits the viewport */
@media (max-height: 760px){
	.ddm_process_head{
		position: static;
	}
}

/* WAYS (Chirurgie): two circles, „Kombination“ in the overlap. Shares the
   look of .ddm_venn; the circles move in from the sides. */
@media (prefers-reduced-motion: no-preference){
	.ddm_js .ddm_venn._two:not(._in) ._c1{ translate: -36px 0px; }
	.ddm_js .ddm_venn._two:not(._in) ._c2{ translate: 36px 0px; }
}

/* SIGN: small line drawing above a definition (Chirurgie): one face
   profile, nose laid on (._piece) or rebuilt with a seam (._stitch) */
.ddm_sign{
	display: block;
	width: 72px;
	margin-bottom: var(--space-4);
}
.ddm_sign svg{
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ddm_sign ._base{
	stroke: var(--color-mink);
	stroke-width: 1.5;
}
.ddm_sign ._piece{
	fill: var(--color-sand);
	stroke: var(--color-umber);
	stroke-width: 1.5;
}
.ddm_sign ._gap{
	stroke: var(--color-mink);
	stroke-width: 1.5;
	stroke-dasharray: 2 4;
}
.ddm_sign ._rebuilt,
.ddm_sign ._stitch{
	stroke: var(--color-umber);
	stroke-width: 1.75;
}
.contstyles .ddm_sign + h2{
	margin-top: 0px;
}

/* SCALE (Chirurgie, „no better solution“): tilted until it is in view,
   then it swings out and comes to rest level (ddm_initReveal). The pans
   follow the beam ends (arm 116 viewBox units). */
.ddm_balance{
	max-width: 340px;
	margin-top: var(--space-7);
}
.ddm_balance svg{
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.ddm_balance path,
.ddm_balance circle{
	fill: none;
	stroke: var(--color-mink);
	stroke-width: 1.5;
	stroke-linecap: round;
}
.ddm_balance ._beam path{
	stroke: var(--color-umber);
	stroke-width: 2;
}
.ddm_balance ._beam circle{
	fill: var(--color-sand);
	stroke: var(--color-umber);
}
.ddm_balance ._dish{
	fill: var(--color-sand);
	stroke: var(--color-taupe);
}
.ddm_balance text{
	font-family: var(--font-head);
	font-weight: var(--weight-head);
	font-size: 19px;
	fill: var(--color-head);
	text-anchor: middle;
}
.ddm_balance ._beam{
	transform-box: view-box;
	transform-origin: 180px 48px;
}
@media (prefers-reduced-motion: no-preference){
	.ddm_js .ddm_balance:not(._in) ._beam{ transform: rotate(-6deg); }
	.ddm_js .ddm_balance:not(._in) ._left{ transform: translateY(12px); }
	.ddm_js .ddm_balance:not(._in) ._right{ transform: translateY(-12px); }
	.ddm_js .ddm_balance._in ._beam{ animation: ddm_balance_beam 2400ms var(--ease) both; }
	.ddm_js .ddm_balance._in ._left{ animation: ddm_balance_left 2400ms var(--ease) both; }
	.ddm_js .ddm_balance._in ._right{ animation: ddm_balance_right 2400ms var(--ease) both; }
}
@keyframes ddm_balance_beam{
	0%{ transform: rotate(-6deg); }
	40%{ transform: rotate(3.5deg); }
	70%{ transform: rotate(-1.2deg); }
	100%{ transform: rotate(0deg); }
}
@keyframes ddm_balance_left{
	0%{ transform: translateY(12px); }
	40%{ transform: translateY(-7px); }
	70%{ transform: translateY(2.4px); }
	100%{ transform: translateY(0px); }
}
@keyframes ddm_balance_right{
	0%{ transform: translateY(-12px); }
	40%{ transform: translateY(7px); }
	70%{ transform: translateY(-2.4px); }
	100%{ transform: translateY(0px); }
}

/* PAPERS (Kosten intro): prescription, cost estimate and the insurer's
   seal, drawn in a linen 4:3 frame */
.ddm_papers{
	display: block;
	width: 100%;
	height: 100%;
}
.ddm_papers ._sheet{
	filter: drop-shadow(0px 8px 18px var(--color-shadow));
}
.ddm_papers ._sheet rect{
	fill: var(--color-white);
}
.ddm_papers ._title{
	font-family: var(--font-text);
	font-weight: var(--weight-strong);
	font-size: 14px;
	fill: var(--color-head);
}
.ddm_papers ._line,
.ddm_papers ._row{
	fill: none;
	stroke: var(--color-line);
	stroke-width: 6;
	stroke-linecap: round;
}
.ddm_papers ._rule{
	stroke: var(--color-mink);
	stroke-width: 1;
}
.ddm_papers ._sum{
	stroke: var(--color-sand);
	stroke-width: 8;
	stroke-linecap: round;
}
.ddm_papers ._sign{
	fill: none;
	stroke: var(--color-umber);
	stroke-width: 2;
	stroke-linecap: round;
}
.ddm_papers ._seal circle{
	fill: var(--color-sand);
}
.ddm_papers ._seal ._ring{
	fill: none;
	stroke: var(--color-taupe);
	stroke-width: 1;
}
.ddm_papers ._seal text{
	font-family: var(--font-head);
	font-weight: var(--weight-head);
	font-size: 15px;
	fill: var(--color-espresso);
	text-anchor: middle;
}

/* FACTORS (Kosten): index rows without links, title + example below */
.ddm_factors{
	margin-top: var(--space-5);
}
.contstyles .ddm_factors.ddm_index{
	margin-top: var(--space-5);
}
.ddm_factors .ddm_index_title{
	display: block;
}

/* WHEEL (Pflege): the factors of durability around a sand disc, on dashed
   spokes. Positions per item (--x, --y) come from default.php; the items
   appear one after another once in view (ddm_initReveal). A plain list
   of labels on phones. */
.ddm_durability{
	align-items: center;
}
.ddm_wheel{
	position: relative;
	max-width: 640px;
	aspect-ratio: 16 / 11;
	margin-top: var(--space-5);
}
.ddm_wheel_lines{
	position: absolute;
	inset: 0px;
	width: 100%;
	height: 100%;
	overflow: visible;
}
.ddm_wheel_lines ellipse,
.ddm_wheel_lines line{
	fill: none;
	stroke: var(--color-mink);
	stroke-width: 1;
	stroke-dasharray: 3 5;
	vector-effect: non-scaling-stroke;
}
.ddm_wheel_lines ellipse{
	stroke: var(--color-sand);
	stroke-width: 2;
	stroke-dasharray: none;
}
.ddm_wheel_core{
	position: absolute;
	left: 50%;
	top: 50%;
	translate: -50% -50%;
	display: grid;
	place-items: center;
	width: 152px;
	height: 152px;
	border-radius: 50%;
	background-color: var(--color-sand);
	box-shadow: 0px 0px 0px 10px var(--color-linen);
}
.contstyles .ddm_wheel ul{
	list-style: none;
	margin: 0px;
}
.contstyles .ddm_wheel li{
	position: absolute;
	left: var(--x);
	top: var(--y);
	translate: -50% -50%;
	width: max-content;
	max-width: 10.5em;
	margin: 0px;
	padding: var(--space-2) var(--space-4);
	border: 1px solid var(--color-mink);
	border-radius: var(--radius-round);
	background-color: var(--color-white);
	text-align: center;
	font-size: var(--fs-small);
	line-height: var(--lh-small);
	font-weight: var(--weight-ui);
	color: var(--color-head);
}
.contstyles .ddm_wheel li::before{
	display: none;
}
.contstyles .ddm_wheel + .ddm_statement{
	margin-top: var(--space-6);
}
@media (prefers-reduced-motion: no-preference){
	.ddm_js .ddm_wheel li,
	.ddm_js .ddm_wheel_lines{
		transition: opacity 600ms var(--ease) calc(200ms + var(--i, 0) * 110ms), scale 600ms var(--ease) calc(200ms + var(--i, 0) * 110ms);
	}
	.ddm_js .ddm_wheel:not(._in) li,
	.ddm_js .ddm_wheel:not(._in) .ddm_wheel_lines{
		opacity: 0;
		scale: 0.92;
	}
}

/* FLOW (Pflege): three cards in a row, linked by round arrows in the gaps
   (change -> check -> adjust); stacked with downward arrows on mobile */
.ddm_flow{
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-8);
}
.ddm_flow > li{
	position: relative;
	padding: var(--space-6);
	border-top: 2px solid var(--color-sand);
	background-color: var(--color-white);
}
.ddm_flow > li:not(:last-child)::before,
.ddm_flow > li:not(:last-child)::after{
	content: "";
	position: absolute;
	z-index: 1;
	top: var(--space-6);
	left: calc(100% + var(--space-8) / 2);
	translate: -50% 0px;
	width: 40px;
	height: 40px;
}
.ddm_flow > li:not(:last-child)::before{
	border-radius: 50%;
	background-color: var(--color-sand);
}
.ddm_flow > li:not(:last-child)::after{
	background-color: var(--color-espresso);
	-webkit-mask: url("../svg/tabler/arrow-right.svg") center / 20px no-repeat;
	mask: url("../svg/tabler/arrow-right.svg") center / 20px no-repeat;
}
.ddm_flow_note{
	color: var(--color-meta);
}
.contstyles .ddm_flow_note{
	margin-top: var(--space-5);
}


/* ===========================================================================
   LEISTUNGEN (the twelve service pages, content_nasenepithese ...)
   One skeleton for every service; drawn graphics only where the copy
   explains a mechanism (see styleguide/README.md).
   =========================================================================== */

/* STEPS in a 3 x 2 grid (the six supply steps): numeral above, the top
   hairline reads as a track like ._row */
.ddm_steps._grid3{
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: var(--space-7);
	row-gap: var(--space-5);
}
.ddm_steps._grid3 > li{
	grid-template-columns: minmax(0, 1fr);
	padding-block: var(--space-5) 0px;
	border-top-color: var(--color-mink);
}
.ddm_steps._grid3 > li::before{
	grid-row: auto;
	margin-bottom: var(--space-5);
}
.linen_bg .ddm_steps._grid3 > li{
	border-top-color: var(--color-mink);
}

/* SIGN above a definition heading, a bit larger than in running text */
.ddm_sign._large{
	width: 88px;
	margin-bottom: var(--space-5);
}

/* text after a compare pair */
.ddm_compare_after{
	max-width: 760px;
}
.ddm_compare + .ddm_compare_after{
	margin-top: var(--space-8);
	padding-left: var(--space-5);
	border-left: 2px solid var(--color-sand);
	color: var(--color-head);
}
.linen_bg .ddm_compare + .ddm_compare_after{
	border-left-color: var(--color-mink);
}

/* SPLIT with a caption: the caption sits below the sand plane */
.ddm_split_media .ddm_caption{
	position: relative;
	margin-top: calc(var(--space-7) + var(--space-3));
}

/* SURGERY: text 7/12, the two circles 5/12 */
.ddm_textcols.ddm_surgery{
	grid-template-columns: 7fr 5fr;
	gap: var(--space-9);
}

/* SERVICE NAV: all services in four groups; the current one is marked */
.ddm_servicenav{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-6) var(--grid-gap);
	margin-top: var(--space-6);
}
.ddm_servicenav h3{
	margin-bottom: var(--space-3);
}
.ddm_servicenav .ddm_index{
	border-top-color: var(--color-sand);
}
.ddm_servicenav .ddm_index > li{
	border-bottom-color: var(--color-sand);
}
.ddm_servicenav .ddm_index > li > a,
.ddm_servicenav .ddm_index > li._current{
	padding-block: var(--space-3);
}
.ddm_servicenav ._current{
	color: var(--color-umber);
}
.ddm_servicenav_here{
	flex: none;
	padding: 0px var(--space-2);
	border-radius: var(--radius-round);
	background-color: var(--color-sand);
	color: var(--color-espresso);
}

/* CALLOUTS: numbered list whose numbers match the markers of a drawing */
.contstyles .ddm_callouts{
	list-style: none;
	counter-reset: callout;
	padding-left: 0px;
	margin-top: var(--space-4);
	border-top: 1px solid var(--color-line);
}
.contstyles .ddm_callouts > li{
	counter-increment: callout;
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--space-4);
	margin-top: 0px;
	padding-block: var(--space-3);
	border-bottom: 1px solid var(--color-line);
	color: var(--color-head);
}
.contstyles .ddm_callouts > li::before{
	content: counter(callout);
	flex: 0 0 28px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1px solid var(--color-mink);
	border-radius: 50%;
	background-color: var(--color-white);
	font-family: var(--font-head);
	font-weight: var(--weight-head);
	font-size: var(--fs-small);
	line-height: 1;
	color: var(--color-umber);
	font-variant-numeric: lining-nums;
}
.linen_bg .contstyles .ddm_callouts,
.linen_bg .contstyles .ddm_callouts > li{
	border-color: var(--color-sand);
}

/* DRAWINGS (ddm_draw in default.php): line drawings from the palette.
   In a section: <figure class="ddm_draw _<name>">; as the intro image:
   <div class="ddm_media _4x3 _drawn ddm_draw _<name>"> on linen. Parts with
   ._mv move into place once the drawing is in view (ddm_initReveal). */
.ddm_draw{
	position: relative;
}
.ddm_draw svg{
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.ddm_media._drawn{
	padding: var(--space-5);
}
.ddm_media._drawn svg{
	height: 100%;
}
.ddm_draw ._ln{
	fill: none;
	stroke: var(--color-mink);
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ddm_draw ._ac{
	fill: none;
	stroke: var(--color-umber);
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ddm_draw ._dash{
	stroke-dasharray: 3 5;
}
.ddm_draw ._f_white{ fill: var(--color-white); }
.ddm_draw ._f_linen{ fill: var(--color-linen); }
.ddm_draw ._f_peach{ fill: var(--color-peach); }
.ddm_draw ._f_sand{ fill: var(--color-sand); }
.ddm_draw ._f_mink{ fill: var(--color-mink); }
.ddm_draw ._f_taupe{ fill: var(--color-taupe); }
.ddm_draw ._f_umber{ fill: var(--color-umber); }
.ddm_draw ._f_espresso{ fill: var(--color-espresso); }
.ddm_draw ._f_ink{ fill: var(--color-ink); }
.ddm_draw ._lead{
	fill: none;
	stroke: var(--color-mink);
	stroke-width: 1;
}
.ddm_draw ._mark circle{
	fill: var(--color-white);
	stroke: var(--color-mink);
	stroke-width: 1;
}
.ddm_draw ._mark text{
	font-family: var(--font-head);
	font-weight: var(--weight-head);
	font-size: 15px;
	fill: var(--color-umber);
	text-anchor: middle;
	font-variant-numeric: lining-nums;
}
.ddm_draw ._lbl,
.ddm_draw ._lbl_h{
	font-family: var(--font-text);
	font-weight: var(--weight-ui);
	font-size: 14px;
	fill: var(--color-head);
	text-anchor: middle;
}
.ddm_draw ._lbl_h{
	font-family: var(--font-head);
	font-weight: var(--weight-head);
	font-size: 19px;
}
.ddm_draw ._lbl._meta{
	fill: var(--color-meta);
}
/* labels of drawings that are shown small (intro frame) */
.ddm_draw ._lg{
	font-size: 17px;
}
.ddm_draw ._lbl_h._lg{
	font-size: 22px;
}
.ddm_draw ._start{
	text-anchor: start;
}
.ddm_draw ._end{
	text-anchor: end;
}
/* layers: sheets with a white edge, pores on the top one */
.ddm_draw ._edge{
	stroke: var(--color-white);
	stroke-width: 1.5;
}
.ddm_draw pattern circle{
	fill: var(--color-taupe);
	opacity: 0.5;
}
.ddm_draw ._pores{
	fill: url(#ddm-pores);
}
/* iris */
.ddm_draw ._s1{ stop-color: var(--color-umber); }
.ddm_draw ._s2{ stop-color: var(--color-taupe); }
.ddm_draw ._s3{ stop-color: var(--color-mink); }
.ddm_draw ._s4{ stop-color: var(--color-taupe); }
.ddm_draw ._s5{ stop-color: var(--color-espresso); }
.ddm_draw ._fibre{
	stroke: var(--color-peach);
	stroke-width: 1;
	stroke-linecap: round;
	opacity: 0.5;
}
.ddm_draw ._fibre._b{
	stroke: var(--color-sand);
	stroke-width: 1.4;
	opacity: 0.8;
}
.ddm_draw ._collarette{
	fill: none;
	stroke: var(--color-sand);
	stroke-width: 2;
	stroke-linejoin: round;
}
.ddm_draw ._limbus{
	fill: none;
	stroke: var(--color-espresso);
	stroke-width: 4;
	opacity: 0.55;
}
.ddm_draw ._soft{
	opacity: 0.7;
}
.ddm_draw ._pupil{
	transform-box: fill-box;
	transform-origin: center;
}
/* gaze */
.ddm_draw ._brow{
	fill: none;
	stroke: var(--color-mink);
	stroke-width: 3;
	stroke-linecap: round;
}
.ddm_draw ._iris_ring{
	fill: none;
	stroke: var(--color-umber);
	stroke-width: 1;
	opacity: 0.6;
}
.ddm_draw ._plate{
	stroke: var(--color-umber);
	stroke-width: 1.25;
	stroke-dasharray: 4 4;
}
/* edge (cross-section) */
.ddm_draw ._skin{
	fill: none;
	stroke: var(--color-taupe);
	stroke-width: 1.5;
}
.ddm_draw ._texture circle{
	fill: var(--color-mink);
}
.ddm_draw ._lens{
	stroke: var(--color-umber);
	stroke-width: 1.5;
	stroke-linejoin: round;
}
.ddm_draw ._glue{
	fill: none;
	stroke: var(--color-umber);
	stroke-width: 2;
	stroke-dasharray: 2 3;
}
.ddm_draw ._zoom{
	fill: none;
	stroke: var(--color-umber);
	stroke-width: 1;
}
/* splint, ear */
.ddm_draw ._keloid{
	fill: color-mix(in srgb, var(--color-mink) 45%, var(--color-linen));
	stroke: var(--color-taupe);
	stroke-width: 1.25;
}
.ddm_draw ._arrow{
	fill: none;
	stroke: var(--color-umber);
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ddm_draw ._concha{
	fill: var(--color-linen);
	stroke: var(--color-mink);
	stroke-width: 1.5;
	stroke-linecap: round;
}
.ddm_draw ._hoop{
	fill: none;
	stroke: var(--color-umber);
	stroke-width: 2.5;
}
.ddm_draw ._tunnel{
	fill: var(--color-sand);
	stroke: var(--color-umber);
	stroke-width: 3;
}
/* fistula */
.ddm_draw ._ring{
	fill: none;
	stroke: var(--color-mink);
	stroke-width: 1.25;
}
/* hand */
.ddm_draw ._nail{
	fill: var(--color-peach);
	stroke: var(--color-mink);
	stroke-width: 1.25;
}
.ddm_draw ._crease,
.ddm_draw ._knuckle{
	fill: none;
	stroke: var(--color-mink);
	stroke-width: 1;
	stroke-linecap: round;
	opacity: 0.8;
}
.ddm_draw ._knuckle{
	stroke-width: 1.1;
	opacity: 0.7;
}
/* fan */
.ddm_draw ._card{
	transform-box: view-box;
	transform-origin: 240px 284px;
	rotate: var(--r);
}
.ddm_draw ._cardface{
	stroke: var(--color-white);
	stroke-width: 2;
}
.ddm_draw ._f_white._cardface{
	stroke: var(--color-line);
}
/* reveal: parts start out of place and settle once in view */
@media (prefers-reduced-motion: no-preference){
	.ddm_js .ddm_draw ._mv{
		transition: translate 1200ms var(--ease) calc(150ms + var(--i, 0) * 90ms), rotate 1400ms var(--ease) calc(150ms + var(--i, 0) * 80ms), scale 1600ms var(--ease) 200ms, opacity 700ms var(--ease) 300ms;
	}
	.ddm_js .ddm_draw:not(._in) ._sheet{ translate: 0px var(--o); }
	.ddm_js .ddm_draw:not(._in) ._pupil{ scale: 1.35; }
	.ddm_js .ddm_draw:not(._in) ._look{ translate: 10px -8px; }
	.ddm_js .ddm_draw:not(._in) ._lens{ translate: 0px -18px; opacity: 0; }
	.ddm_js .ddm_draw:not(._in) ._shell._l{ translate: -36px 0px; }
	.ddm_js .ddm_draw:not(._in) ._shell._r{ translate: 36px 0px; }
	.ddm_js .ddm_draw:not(._in) ._plug,
	.ddm_js .ddm_draw:not(._in) ._piece,
	.ddm_js .ddm_draw:not(._in) ._jewel,
	.ddm_js .ddm_draw:not(._in) ._clip{ opacity: 0; }
	.ddm_js .ddm_draw:not(._in) ._card{ rotate: 0deg; }
}

/* TEXT + DRAWING: text 6/12, drawing 6/12 (the sections that explain a
   mechanism; markers in the drawing = numbers of a .ddm_callouts list) */
.ddm_artcols{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-9);
	align-items: center;
}
.ddm_artcols > .contstyles{
	max-width: 600px;
}
.ddm_artcols > .ddm_draw{
	justify-self: center;
	width: 100%;
	max-width: 500px;
}

/* LAYERS below the lead of a "hergestellt" section */
.contstyles .ddm_layers{
	max-width: 300px;
	margin-top: var(--space-7);
}

/* EXHIBITS: two product photos side by side, each opens the lightbox */
.ddm_exhibits{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-4);
}
.ddm_exhibits a{
	position: relative;
	display: block;
}
.ddm_exhibits .ddm_media{
	display: block;
}
