@charset "UTF-8";
div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, form {
	padding: 0;
	margin: 0;
	border: 0;
	font-size: 100%; 
	font: inherit;
	vertical-align: baseline
}
div {box-sizing: border-box;}

html, body{
  font-family: system-ui, sans-serif;
  font-size: 110%;
  font-weight:400;
  line-height: 1.1;
  color:#000;             
  word-spacing: 0.1rem;   
  hyphenate-limit-chars: 10 5;
  hyphens: auto;
  scroll-behavior: smooth;       
  }
 
strong{font-weight: 700}
.fs090{font-size: 90%}
.fs110{font-size: 110%}
.fs120{font-size: 120%}
.fs140{font-size: 140%}
.fs090{font-size: 90%}

.fw600 {font-weight: 600}
.fw700 {font-weight: 700}

.mgb05{margin:0 0 5px}
.mgb08{margin:0 0 8px}
.mgb10{margin:0 0 10px}
.mgb20{margin:0 0 20px}
.mgb30{margin:0 0 30px}

.bgBody{background-image: url(./bg/werkstatt.webp); background-position:left top; background-size:cover; background-repeat:no-repeat; background-attachment:fixed;}
.wrap{max-width:1200px; margin:10dvh auto 0;}
.card,.panel{background: rgba(239, 239, 239, 0.95);border-radius:16px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:18px;margin-bottom:18px}
//h1,h2{margin:0 0 6px}
.grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}
form{display:grid;gap:12px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.field{display:grid;gap:6px}
input[type=text],input[type=number],input[type=file],textarea{width:100%;padding:5px 10px;font-size:1.1rem; border:3px inset #ccc; border-radius:10px;box-sizing:border-box}
label{font-size:1.1rem; font-weight: 600}
textarea{min-height:80px;resize:vertical;font-size:1.1rem}
.btns{display:flex;flex-wrap:wrap;gap:10px}
.btn,.btn-secondary,.btn-danger{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;text-decoration:none;border:none;cursor:pointer;font-size:1rem; font-weight:600}
.btn{background:#b36a2e;color:#fff}
.btn-secondary{background:#eee;color:#222}
.btn-danger{background:#c62828;color:#fff}
.msg{padding:12px 14px;border-radius:12px;margin-bottom:14px}
.success{background:#e8f5e9;color:#225d3a}
.error{background:#ffebee;color:#9f2d2d}
.records{display:grid;gap:12px}
.record{display:grid;grid-template-columns:170px 1fr auto;gap:12px;padding:12px;border:1px solid #e5e5e5;border-radius:16px;background:#fafafa}
.gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.thumb{height:76px;border-radius:10px;overflow:hidden;background:#ddd;position:relative}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}
.thumb .fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;color:#666}
.facts{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.fact{padding:6px 10px;border:1px solid #ddd;border-radius:999px;background:#fff;font-size:1.1rem}
.backups-list{display:grid;gap:10px}
.backup-item{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;border:1px solid #e5e5e5;border-radius:12px;background:#fafafa}
.small{font-size:0.95rem;color:#777}
.checkbox-row{display:flex;align-items:center;gap:8px;font-size:13px}
.gallery-edit{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.edit-slot{background:#fafafa;border:1px solid #e5e5e5;border-radius:12px;padding:8px}
select{width:100%;padding:10px 12px;font-size:1.1rem; border:3px inset #ccc; border-radius:10px;box-sizing:border-box}

@media(max-width:1100px){.grid{grid-template-columns:1fr}.record{grid-template-columns:1fr}.gallery,.gallery-edit{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.row,.gallery,.gallery-edit{grid-template-columns:1fr}.record{grid-template-columns:1fr}}
.spezi{width:90%; height:auto; padding:5px; fontsize: 1.3rem; border:3px inset #909090;}

/* Obere Hauptnavigation  */
#top-nav-box{ 
 z-index: 10;
 position: fixed;
 top: 0;
 left:0;
 width: 100%;
 height: auto;  
 padding: 10px 20px; 
 background:linear-gradient(180deg , #2e5560 , #325b67 , #35626f , #396976 , #3d6f7e , #407685 , #447d8d , #488495 );
 //background-color:#448798;
 color:#fff;   
}
.nav-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  column-gap:25px;          
}
.nav-item, .nav-item-maybe{
  box-sizing:border-box;
  width: auto;  
  padding:5px 10px;  
}
.nav-item-maybe{
 display: var(--Vmaybe);
}
.nav-item-a, .nav-item-b, nav-item-c{
  font-size:1.5rem;
  font-weight: 500;
  text-align: center;
  color:#fff;
  text-decoration: underline solid #fff 2px;
  text-underline-offset: 0.4rem;  
} 
.nav-item-b{
  color:#0000ff;
  text-decoration: underline solid #0000ff 2px; 
  text-underline-offset: 0.4rem; 
} 
.nav-item-c{
  font-weight: 400;
  color:#E7FC3D;
  text-decoration: underline dotted #E7FC3D 2px; 
  text-underline-offset: 0.3rem; 
} 

.nav-item-a:hover{
  font-weight:600;
  text-decoration: underline solid #ff0000 3px;
  text-underline-offset: 0.4rem;   
 }
.nav-item-b:hover{
  font-weight:600;
  text-decoration: underline solid #ff0000 3px;
  text-underline-offset: 0.4rem;   
 }

